diff options
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 0fe64d7e6..53a195ee8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -20,7 +20,7 @@ module.exports = function( grunt ) { // But our modules can delete srcHintOptions.onevar; - grunt.initConfig({ + grunt.initConfig( { pkg: grunt.file.readJSON( "package.json" ), dst: readOptionalJSON( "dist/.destination.json" ), "compare_size": { @@ -53,6 +53,7 @@ module.exports = function( grunt ) { "core", "selector" ], + // Exclude specified modules if the module matching the key is removed removeWith: { ajax: [ "manipulation/_evalUrl", "event/ajax" ], @@ -108,7 +109,12 @@ module.exports = function( grunt ) { gruntfile: "Gruntfile.js", // Check parts of tests that pass - test: [ "test/data/testrunner.js", "test/unit/animation.js", "test/unit/tween.js" ], + test: [ + "test/data/testrunner.js", + "test/unit/animation.js", + "test/unit/tween.js", + "test/unit/wrap.js" + ], release: [ "build/*.js", "!build/release-notes.js" ], tasks: "build/tasks/*.js" }, @@ -162,7 +168,7 @@ module.exports = function( grunt ) { } } } - }); + } ); // Load grunt tasks from NPM packages require( "load-grunt-tasks" )( grunt ); @@ -177,7 +183,7 @@ module.exports = function( grunt ) { grunt.registerTask( "test", [ "test_fast", "promises_aplus_tests" ] ); // Short list as a high frequency watch task - grunt.registerTask( "dev", [ "build:*:*", "lint", "uglify", "remove_map_comment", "dist:*" ] ); + grunt.registerTask( "dev", [ "build:*:*", "uglify", "remove_map_comment", "dist:*" ] ); grunt.registerTask( "default", [ "dev", "test_fast", "compare_size" ] ); }; |