Coder Social home page Coder Social logo

dryrun's Introduction

dryrun

Try any android library hosted online directly from the command line

downloads npm Android Weekly Codacy Badge Closed

Install

gem install dryrun

Usage

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

Alternative scenario (if you don't use dryrun)

  1. Find the github's repository url
  2. Click the download zip
  3. Extract the zip file
  4. Open Android Studio
  5. Import the project you just downloaded
  6. Sync gradle
  7. Run the project
  8. Choose the device you want to run
  9. Test all you want
  10. Delete the project folder and the zip file when you don't want it anymore

Goodies

  • Private repos can be tested too ๐Ÿ˜ƒ
  $ 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.

Notes

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

Created by

Cesar Ferreira

License

MIT ยฉ Cesar Ferreira

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.