dryrun
Try any android library hosted online directly from the command line
Usage
dryrun https://github.com/cesarferreira/android-helloworld
Wait a few seconds and the app is now opened on your phone :smiley:
Advanced usage
$ 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")
-h, --help Displays help
-v, --version Displays the version
Installation
$ gem install dryrun
Goodies
Private repos can be tested too :smiley:
$ dryrun [email protected]:cesarferreira/android-helloworld.git
No need to cleanup after you test the library.
No need to wait for Android Studio to load.
Alternative scenario (if you don't use dryrun
)
- Find the github's repository url
- Click the
download zip
- Extract the
zip file
- Open Android Studio
- Import the project you just downloaded
- Sync gradle
- Run the project
- Choose the device you want to run
- Test all you want
- Delete the
project folder
and thezip file
when you don't want it anymore
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/cesarferreira/dryrun.