diff options
author | BigBlueHat <byoung@bigbluehat.com> | 2014-01-15 13:27:06 -0500 |
---|---|---|
committer | Garren Smith <garren.smith@gmail.com> | 2014-01-16 19:50:41 +0200 |
commit | 32bb6ce45d42f971c5d772bc1cdb23a1e678509d (patch) | |
tree | b2079ea2cd4d075ac00dc34c737f938e62fe1729 | |
parent | a09318fa85365cf8e4d6718e3c3cb07aba76d990 (diff) | |
download | couchdb-32bb6ce45d42f971c5d772bc1cdb23a1e678509d.tar.gz |
Fauxton: added dependencies to test task list
Added dependencies to test task list and
added test_inline task for use inside watchRun.
-rw-r--r-- | src/fauxton/Gruntfile.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js index cf70440d9..b42e6b5d6 100644 --- a/src/fauxton/Gruntfile.js +++ b/src/fauxton/Gruntfile.js @@ -422,7 +422,9 @@ module.exports = function(grunt) { */ // clean out previous build artefactsa and lint grunt.registerTask('lint', ['clean', 'jshint']); - grunt.registerTask('test', ['lint', 'mochaSetup','jst', 'concat:test_config_js', 'mocha_phantomjs']); + grunt.registerTask('test', ['lint', 'dependencies', 'test_inline']); + // lighter weight test task for use inside dev/watch + grunt.registerTask('test_inline', ['mochaSetup','jst', 'concat:test_config_js', 'mocha_phantomjs']); // Fetch dependencies (from git or local dir), lint them and make load_addons grunt.registerTask('dependencies', ['get_deps', 'gen_load_addons:default']); // build templates, js and css |