Fix grunt to rebuild dist/filer.js on test runs, alter default grunt task to be test

This commit is contained in:
David Humphrey (:humph) david.humphrey@senecacollege.ca 2014-05-16 14:34:01 -04:00 committed by David Humphrey
parent 57640e7bf6
commit 4c518acae4
2 changed files with 2 additions and 3 deletions

View File

@ -92,7 +92,7 @@ module.exports = function(grunt) {
grunt.registerTask('develop', ['clean', 'requirejs']);
grunt.registerTask('release', ['develop', 'uglify']);
grunt.registerTask('check', ['jshint']);
grunt.registerTask('test', ['check', 'shell:mocha']);
grunt.registerTask('test', ['check', 'develop', 'shell:mocha']);
grunt.registerTask('default', ['develop']);
grunt.registerTask('default', ['test']);
};

View File

@ -29,7 +29,6 @@
"grunt-contrib-concat": "~0.1.3",
"grunt-contrib-jshint": "~0.7.1",
"grunt-shell": "~0.7.0",
"grunt-mocha": "0.4.10",
"requirejs": "~2.1.11",
"mocha": "~1.18.2",
"chai": "~1.9.1"