:cloud: Try the demo project of any Android Library
Try any android library hosted online directly from the command line
gem install dryrun
dryrun https://github.com/cesarferreira/android-helloworld
Wait a few seconds and the app is now opened on your phone 😃
$ dryrun -h
Usage: dryrun GIT_URL [OPTIONS]
Options
-m, --module MODULE_NAME Custom module to run
-b, --branch BRANCH_NAME Checkout custom branch to run
-f, --flavour FLAVOUR Custom flavour (e.g. dev, qa, prod)
-p, --path PATH Custom path to android project
-t, --tag TAG Checkout tag/commit hash to clone (e.g. "v0.4.5", "6f7dd4b")
-c, --cleanup Clean the temporary folder before cloning the project
-w, --wipe Wipe the temporary dryrun folder
-h, --help Displays help
-v, --version Displays the version
-a, --android-test Execute android tests
dryrun
)download zip
zip file
project folder
and the zip file
when you don’t want it anymore $ dryrun [email protected]:cesarferreira/android-helloworld.git
Be aware that $ANDROID_SDK_ROOT
environment variable needs to be set. See more in here
Additionally, on windows in order to use git commands, the following path should be on the environment variable
...\Git\cmd
MIT © Cesar Ferreira