Giter Site home page Giter Site logo

dryrun's Introduction

dryrun

Build Status Gem Version

Try an android library on your smartphone directly from the command line

A dry run (or a practice run) is a testing process where the effects of a possible failure are intentionally mitigated. For example, an aerospace company may conduct a "dry run" test of a jet's new pilot ejection seat while the jet is parked on the ground, rather than while it is in flight.

Typical scenario

  1. Find the github url (lets say https://github.com/cesarferreira/android-helloworld)
  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

... or you can use dryrun:

Usage

dryrun https://github.com/cesarferreira/android-helloworld

Wait a few seconds... and voilà! The app is installed and opened on your phone 😃

Installation

$ gem install dryrun

Requirements (if you haven't already):

$ANDROID_HOME defined on the environment variables how-to

hint: in your ~/.bashrc add export ANDROID_HOME="/Users/cesarferreira/Library/Android/sdk/"

Android SDK defined on the environment variables how-to

hint: in your ~/.bashrc add export PATH="/Users/cesarferreira/.rvm/bin:/Users/cesarferreira/Library/Android/sdk/platform-tools/:$PATH"

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/cesarferreira/dryrun.

dryrun's People

Contributors

cesarferreira avatar

Watchers

Janusz Bagiński avatar James Cloos avatar

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.