Fauxton: added dependencies to test task list Added dependencies to test task list and added test_inline task for use inside watchRun.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/32bb6ce4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/32bb6ce4 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/32bb6ce4 Branch: refs/heads/api-options Commit: 32bb6ce45d42f971c5d772bc1cdb23a1e678509d Parents: a09318f Author: BigBlueHat <[email protected]> Authored: Wed Jan 15 13:27:06 2014 -0500 Committer: Garren Smith <[email protected]> Committed: Thu Jan 16 19:50:41 2014 +0200 ---------------------------------------------------------------------- src/fauxton/Gruntfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/32bb6ce4/src/fauxton/Gruntfile.js ---------------------------------------------------------------------- diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js index cf70440..b42e6b5 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
