Firefox OS grunt tasks
Firefox OS tasks for Grunt.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
$ npm install grunt-firefoxos --save-dev
This task will push the app to a Firefox OS device, installing it like if it were an app from the Marketplace.
gruntinitConfigffospush:app:appId: 'your-app-id' // unique app identifierzip: 'application.zip' // zip with your app;
Then run the task with:
$ grunt ffospush
Note that you can have several targets for this task:
gruntinitConfigffospush:rc:appId: 'your-app-rc'zip: 'application-rc.zip'stable:appId: 'your-app-stable'zip: 'application-stable.zip';
You can reboot B2G with
ffosreset. Note that this task does not have
targets or config options.
$ grunt ffosreset
This will output the device's log (the content from
adb logcat). This
task does not have targets or config options.
$ grunt ffoslog