aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-08-24 10:52:35 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-08-24 10:52:35 -0400
commit1c8fd60595134b8501fa1b4d07dcc11d6ec65d8c (patch)
treef9ad3aa4d3b1dc8b89165fc0c6aeca7c76cbdb9a /Gruntfile.js
parent7f85c2138603d5c869c3c9a3713bfa0b1e7a08f8 (diff)
downloadfreenode-live-2017-presentation-1c8fd60595134b8501fa1b4d07dcc11d6ec65d8c.tar
freenode-live-2017-presentation-1c8fd60595134b8501fa1b4d07dcc11d6ec65d8c.tar.gz
add test task, avoid attempt to run tests in unrelated html files
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 5daa4e5..4df3181 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -17,7 +17,7 @@ module.exports = function(grunt) {
// Tests will be added soon
qunit: {
- files: [ 'test/**/*.html' ]
+ files: [ 'test/*.html' ]
},
uglify: {
@@ -130,4 +130,7 @@ module.exports = function(grunt) {
// Serve presentation locally
grunt.registerTask( 'serve', [ 'connect', 'watch' ] );
+ // Run tests
+ grunt.registerTask( 'test', [ 'jshint', 'qunit' ] );
+
};