diff --git a/README.md b/README.md index eec612f..9e756ed 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,13 @@ Build your Ionic application for the targeted platform. $ grunt build:ios --device --release $ grunt build:android --debug +### `grunt resources` + +Icon and splash image generation for your Ionic application. + + $ grunt resources --icon + $ grunt resources --splash + ### `grunt jshint` While running `grunt serve` or `grunt emulate`, the build system will be watching your filesystem for changes and linting your JavaScript files on the fly. However, you can invoke JSHint manually by using this command to spot check your Ionic app for linting errors. diff --git a/templates/common/_Gruntfile.js b/templates/common/_Gruntfile.js index 20f8fb3..539619c 100644 --- a/templates/common/_Gruntfile.js +++ b/templates/common/_Gruntfile.js @@ -525,6 +525,9 @@ module.exports = function (grunt) { grunt.registerTask('build', function() { return grunt.task.run(['init', 'ionic:build:' + this.args.join()]); }); + grunt.registerTask('resources', function() { + return grunt.task.run(['init', 'ionic:resources:' + this.args.join()]); + }); grunt.registerTask('init', [ 'clean',