Skip to content

sunel/DryRun-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dryrun in PHP (JUST FOR FUN)

This is complete PHP Port of orginal ruby version dryrun by cesarferreira

Did this as a fun project 😜 😏

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

A dry 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.

Usage

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

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

Goodies

  • Private repos can be tested too 😃

    • assuming that you have the corresponding private ssh keys in your ~./ssh/

    • $ dryrun git@github.com:cesarferreira/android-helloworld.git

  • No need to cleanup after you test the library.

    • Your operating system will clean the /tmp/ folder for you.
  • No need to wait for Android Studio to load.

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

Installation

    $ wget http://sunel.github.io/dryrun.phar -O dryrun

OR

    $ curl http://sunel.github.io/dryrun.phar -O dryrun

then

	$ sudo chmod a+x dryrun
	$ sudo mv dryrun /usr/local/bin/dryrun

Requirements (if you haven't already):

$ANDROID_HOME defined on the environment variables (how-to)

Android SDK in your $PATH (how-to)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sunel/DryRun-PHP.

About

Quickly try the demo project of any Android Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages