Skip to content

Commit

Permalink
Added grunt build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
shanti2530 committed Feb 22, 2014
1 parent 1174faf commit 280f785
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,19 @@ module.exports = function(grunt) {
}
});

grunt.registerTask('bookmarkletBuild', ['copy:bookmarklet',
'includes:bookmarklet',
'uglify:bookmarklet',
'copy:bookmarkletdist',
'jshint:bookmarklet']);

grunt.registerTask('chromeextensionBuild', ['copy:chromeextension',
'includes:chromeextension',
'uglify:chromeextension',
'copy:chromeextensiondist',
'jshint:chromeextension']);

// Default task(s).
grunt.registerTask('bookmarklet', ['watch:bookmarklet']);
grunt.registerTask('chromeextension', ['watch:chromeextension']);
grunt.registerTask('bookmarklet', ['bookmarkletBuild','watch:bookmarklet']);
grunt.registerTask('chromeextension', ['chromeextensionBuild','watch:chromeextension']);
};

0 comments on commit 280f785

Please sign in to comment.