From: Hakim El Hattab Date: Fri, 23 Aug 2013 00:31:52 +0000 (-0400) Subject: run unit tests as part of grunt build and ci X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=502b26ecf02839bc24f9e47d08d5439aee24ad9c;p=reveal.js.git run unit tests as part of grunt build and ci --- diff --git a/Gruntfile.js b/Gruntfile.js index 79e87b3..5daa4e5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -119,7 +119,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks( 'grunt-zip' ); // Default task - grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify' ] ); + grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify', 'qunit' ] ); // Theme task grunt.registerTask( 'themes', [ 'sass' ] ); diff --git a/package.json b/package.json index 6326570..2c7036e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "homepage": "http://lab.hakim.se/reveal-js", "subdomain": "revealjs", "scripts": { - "test": "grunt jshint", + "test": "grunt jshint qunit", "start": "" }, "author": {