Skip to content

Commit

Permalink
Added uglytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Aug 25, 2016
1 parent a840216 commit d8b9e2b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,18 @@ module.exports = function (grunt) {

});

grunt.registerTask('uglytest', 'Phaser Test Build (all libs)', function() {

grunt.option('exclude', 'ninja,creature');
grunt.option('filename', 'phaser-test');
grunt.option('sourcemap', false);
grunt.option('copy', false);
grunt.option('uglify', true);

grunt.task.run('custom');

});

grunt.registerTask('creature', 'Phaser + Creature', function() {

grunt.option('exclude', 'ninja');
Expand Down

0 comments on commit d8b9e2b

Please sign in to comment.