Browse Source

run unit tests as part of grunt build and ci

embed
Hakim El Hattab 11 years ago
parent
commit
502b26ecf0
  1. 2
      Gruntfile.js
  2. 2
      package.json

2
Gruntfile.js

@ -119,7 +119,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks( 'grunt-zip' ); grunt.loadNpmTasks( 'grunt-zip' );
// Default task // Default task
grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify' ] ); grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify', 'qunit' ] );
// Theme task // Theme task
grunt.registerTask( 'themes', [ 'sass' ] ); grunt.registerTask( 'themes', [ 'sass' ] );

2
package.json

@ -5,7 +5,7 @@
"homepage": "http://lab.hakim.se/reveal-js", "homepage": "http://lab.hakim.se/reveal-js",
"subdomain": "revealjs", "subdomain": "revealjs",
"scripts": { "scripts": {
"test": "grunt jshint", "test": "grunt jshint qunit",
"start": "" "start": ""
}, },
"author": { "author": {

Loading…
Cancel
Save