Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions templates/common/_Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down