Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jerakin/getbob
Download Defold's build tool bob
https://github.com/jerakin/getbob
bob ci cli defold
Last synced: 28 days ago
JSON representation
Download Defold's build tool bob
- Host: GitHub
- URL: https://github.com/jerakin/getbob
- Owner: Jerakin
- Created: 2019-05-15T18:42:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-16T20:02:21.000Z (over 5 years ago)
- Last Synced: 2024-12-30T05:42:29.112Z (about 1 month ago)
- Topics: bob, ci, cli, defold
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
getbob
######
Commandline tool to download Defold's Bob********
Download
********
Install with ``pip install getbob``*****
Usage
*****.. code-block:: bash
$ getbob --help
usage: getbob [-h] [-o, --output OUTPUT] [-v [VERSION]] [-f] [--verbose]Commandline tool to download Defold's Bob
required arguments:
-o, --output OUTPUT File name of the outputoptional arguments:
-h, --help show this help message and exit
-v [VERSION], --version [VERSION]
Which version to download, if not provided the latest
stable will be used. Either: sha1 string, version
string (1.2.152) or 'beta'
-f, --force Overwrite already downloaded bob
--verbose Print verbose outputIntegrates well with build systems such as Jenkins, you can set a string argument that you can use to specify which defold version to use.
Here's an example of how I use it on Jenkins
.. code-block:: bash
export bob="$WORKSPACE/../bob/$defold.jar"
# Get bob
getbob --output $bob --defold $defold --no-progressCan also be used to simply download a version of bob quickly too
To download the most recent version to pwd as "bob.jar" :code:`getbob --output bob.jar`Can also be used in a python script like :code:`import getbob; getbob.download("1.2.155", "/output/path")`