Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Command line client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
EOLE
Zéphir
Command line client
Commits
cbd79cbc
Commit
cbd79cbc
authored
5 years ago
by
Matthieu Lamalle
Browse files
Options
Downloads
Patches
Plain Diff
update de build.sh
parent
01565a75
No related branches found
No related tags found
No related merge requests found
Pipeline
#421
failed
5 years ago
Stage: external
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+15
-26
15 additions, 26 deletions
build.sh
with
15 additions
and
26 deletions
build.sh
+
15
−
26
View file @
cbd79cbc
...
...
@@ -9,37 +9,26 @@ BINNAME=zephir-client
if
[
!
-d
${
BUILD_DIR
}
]
then
mkdir
-p
${
BUILD_DIR
}
fi
fi
cd
${
BUILD_DIR
}
# retrieve dependencies
if
[
-d
tiramisu-cmdline-parser
]
then
git pull
else
git clone https://framagit.org/tiramisu/tiramisu-cmdline-parser.git
cd
tiramisu-cmdline-parser
git checkout b67a1ec430ce8b5d3d285050fc8d2e99bbbb1d43
cd
..
fi
cp
-Rpv
tiramisu-cmdline-parser/tiramisu_cmdline_parser
${
ZDIR
}
if
[
-d
tiramisu-json-api
]
then
git pull
else
git clone https://framagit.org/tiramisu/tiramisu-json-api.git
cd
tiramisu-json-api
git checkout 9da87804c288355757cbf2e40f4a6fee2fd74234
cd
..
fi
cp
-Rpv
tiramisu-json-api/tiramisu_json_api
${
ZDIR
}
git clone https://framagit.org/tiramisu/tiramisu-json-api.git
cd
tiramisu-json-api
git checkout 9da87804c288355757cbf2e40f4a6fee2fd74234
python3 setup.py
install
cd
..
rm
-rf
tiramisu-json-api
git clone https://framagit.org/tiramisu/tiramisu-cmdline-parser.git
cd
tiramisu-cmdline-parser
git checkout b67a1ec4
python3 setup.py
install
cd
..
rm
-rf
tiramisu-cmdline-parser
cd
${
ZDIR
}
PYTHONOPTIMIZE
=
1
pyinstaller
${
BINNAME
}
--clean
--onefile
--name
zcli
#if [[ ${?} -eq 0 ]]
#then
# rm -rf ${ZDIR}/tiramisu_json_api
# rm -rf ${ZDIR}/tiramisu_cmdline_parser.py
#fi
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