From 4c518acae4dc67e3d321d2937e34c4f65a029624 Mon Sep 17 00:00:00 2001 From: "David Humphrey (:humph) david.humphrey@senecacollege.ca" Date: Fri, 16 May 2014 14:34:01 -0400 Subject: [PATCH] Fix grunt to rebuild dist/filer.js on test runs, alter default grunt task to be test --- gruntfile.js | 4 ++-- package.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 153f40c..4c55196 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -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']); }; diff --git a/package.json b/package.json index da487f0..0d3862a 100644 --- a/package.json +++ b/package.json @@ -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"