Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbe-tools
TTool
Commits
99fde4b8
Commit
99fde4b8
authored
6 years ago
by
Ludovic Apvrille
Browse files
Options
Downloads
Patches
Plain Diff
Update TTool Makefile for handling preinstalled version in the TTool website
parent
01f9456f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+9
-4
9 additions, 4 deletions
Makefile
with
9 additions
and
4 deletions
Makefile
+
9
−
4
View file @
99fde4b8
...
@@ -55,7 +55,7 @@ make ttooljavac Build TTool only with javac
...
@@ -55,7 +55,7 @@ make ttooljavac Build TTool only with javac
Other targets
:
Other targets
:
--------------
--------------
make
preinstall
Generate
a
preinstall
version
of
TTool
for
Linux,
Windows
and
make
preinstall
Generate
a
preinstall
version
of
TTool
for
Linux,
Windows
and
MacOS
and
publish
them
on
perso.telecom-paristech.fr.
MacOS
and
publish
them
on
the
website
of
TTool
(hidden
link)
!!!
Must
have
the
right
ssh
key
installed
for
this
!!!
!!!
Must
have
the
right
ssh
key
installed
for
this
!!!
make
git
Update
the
build
number.
make
git
Update
the
build
number.
...
@@ -191,6 +191,8 @@ documentation: $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
...
@@ -191,6 +191,8 @@ documentation: $(patsubst %,$(TTOOL_SRC)/%,$(GLOBAL_JAVA))
# ========== RELEASES ==========
# ========== RELEASES ==========
# ========================================
# ========================================
TTOOL_PRIVATE
?=
$(
TTOOL_PATH
)
/../TTool-Private
TTOOL_PRIVATE
?=
$(
TTOOL_PATH
)
/../TTool-Private
TTOOL_PRIVATE_RELEASES
?=
$(
TTOOL_PRIVATE
)
/website/ttool/releases
PROD_USERNAME
=
apvrille
PROD_USERNAME
=
apvrille
PROD_ADDRESS
=
ssh.enst.fr
PROD_ADDRESS
=
ssh.enst.fr
...
@@ -460,12 +462,15 @@ $(BASERELEASE:.tgz=.tar): $(JTTOOL_BINARY) $(TTOOL_BINARY) $(LAUNCHER_BINARY) $(
...
@@ -460,12 +462,15 @@ $(BASERELEASE:.tgz=.tar): $(JTTOOL_BINARY) $(TTOOL_BINARY) $(LAUNCHER_BINARY) $(
publish_jar
:
$(TTOOL_BINARY)
publish_jar
:
$(TTOOL_BINARY)
@
echo
"
$(
PREFIX
)
Publishing standard and advanced releases"
@
echo
"
$(
PREFIX
)
Publishing standard and advanced releases"
scp
$<
$(
PROD_USERNAME
)
@
$(
PROD_ADDRESS
)
:
$(
PROD_PATH
)
/
# scp $< $(PROD_USERNAME)@$(PROD_ADDRESS):$(PROD_PATH)/
ssh
$(
PROD_USERNAME
)
@
$(
PROD_ADDRESS
)
"chmod a+r
$(
PROD_PATH
)
/
$(
notdir
$<
)
"
# ssh $(PROD_USERNAME)@$(PROD_ADDRESS) "chmod a+r $(PROD_PATH)/$(notdir $<)"
cp
$<
$(TTOOL_PRIVATE_RELEASES)/
preinstall
:
$(TTOOL_PREINSTALL_WINDOWS) $(TTOOL_PREINSTALL_LINUX) $(TTOOL_PREINSTALL_MACOS)
preinstall
:
$(TTOOL_PREINSTALL_WINDOWS) $(TTOOL_PREINSTALL_LINUX) $(TTOOL_PREINSTALL_MACOS)
@
echo
"
$(
PREFIX
)
Publishing preinstall versions"
@
echo
"
$(
PREFIX
)
Publishing preinstall versions"
scp
$^
$(
PROD_USERNAME
)
@
$(
PROD_ADDRESS
)
:
$(
PROD_PATH
)
/
# scp $^ $(PROD_USERNAME)@$(PROD_ADDRESS):$(PROD_PATH)/
cp
$^
$(TTOOL_PRIVATE_RELEASES)/
cd
$(TTOOL_PRIVATE)/website&&make
ttool
git
:
git
:
@
echo
"
$(
PREFIX
)
Updating build number"
@
echo
"
$(
PREFIX
)
Updating build number"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment