
newclear gem - Your one line and relax solution to a ground up rebuild of your iOS or Android RubyMotion app.
Usage
Run either of these lovely commands and then take a LONG walk.
nuke
[bundle exec] rake nuke
nuke clears everything. Which actually just runs the following commands:
rake clean:all
reset-sim #if you're on an iOS project
bundle install
pod setup && rake pod:install # if you're using motion-cocoapods
rake gradle:install # if you're using motion-gradle
newclear
[bundle exec] rake newclear
newclear gives you a new and clear run of your build. This runs nuke and then rake (rake device for android).
Install
Add this line to your application's Gemfile:
gem 'newclear'
And then execute:
$ bundle
Or install it yourself as:
$ gem install newclear
Dependency
We're using Rickert's lovely reset-sim gem in our nuke. So be sure to have accessibility turned on for your terminal, as suggested on the gem's github page
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request