aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-09-17 17:34:57 -0700
committerChris Rebert <[email protected]>2014-09-17 17:36:07 -0700
commit0013f1298982f8ba4035a96c75156c98b408a7d2 (patch)
tree06a4475de45b244c506bb85fdc1939f7d9b5ff89
parent3beeb32bb000f95b59e2bd6ca518c5fc2e797eb3 (diff)
downloadbootstrap-0013f1298982f8ba4035a96c75156c98b408a7d2.tar.xz
bootstrap-0013f1298982f8ba4035a96c75156c98b408a7d2.zip
fix #14609
-rw-r--r--Gruntfile.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 7738ab89f..4b968f9db 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -410,7 +410,7 @@ module.exports = function (grunt) {
var testSubtasks = [];
// Skip core tests if running a different subset of the test suite
if (runSubset('core')) {
- testSubtasks = testSubtasks.concat(['dist-css', 'dist-js', 'csslint:dist', 'jshint:core', 'jshint:test', 'jshint:grunt', 'jscs:core', 'jscs:test', 'jscs:grunt', 'qunit', 'docs']);
+ testSubtasks = testSubtasks.concat(['dist-css', 'dist-js', 'csslint:dist', 'test-js', 'docs']);
}
// Skip HTML validation if running a different subset of the test suite
if (runSubset('validate-html') &&
@@ -428,6 +428,7 @@ module.exports = function (grunt) {
testSubtasks.push('saucelabs-qunit');
}
grunt.registerTask('test', testSubtasks);
+ grunt.registerTask('test-js', ['jshint:core', 'jshint:test', 'jshint:grunt', 'jscs:core', 'jscs:test', 'jscs:grunt', 'qunit']);
// JS distribution task.
grunt.registerTask('dist-js', ['concat', 'uglify:core']);