Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
0013f129
Commit
0013f129
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
fix
#14609
parent
3beeb32b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Gruntfile.js
+2
-1
Gruntfile.js
with
2 additions
and
1 deletion
+2
-1
Gruntfile.js
+
2
-
1
View file @
0013f129
...
@@ -410,7 +410,7 @@ module.exports = function (grunt) {
...
@@ -410,7 +410,7 @@ module.exports = function (grunt) {
var
testSubtasks
=
[];
var
testSubtasks
=
[];
// Skip core tests if running a different subset of the test suite
// Skip core tests if running a different subset of the test suite
if
(
runSubset
(
'
core
'
))
{
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
// Skip HTML validation if running a different subset of the test suite
if
(
runSubset
(
'
validate-html
'
)
&&
if
(
runSubset
(
'
validate-html
'
)
&&
...
@@ -428,6 +428,7 @@ module.exports = function (grunt) {
...
@@ -428,6 +428,7 @@ module.exports = function (grunt) {
testSubtasks
.
push
(
'
saucelabs-qunit
'
);
testSubtasks
.
push
(
'
saucelabs-qunit
'
);
}
}
grunt
.
registerTask
(
'
test
'
,
testSubtasks
);
grunt
.
registerTask
(
'
test
'
,
testSubtasks
);
grunt
.
registerTask
(
'
test-js
'
,
[
'
jshint:core
'
,
'
jshint:test
'
,
'
jshint:grunt
'
,
'
jscs:core
'
,
'
jscs:test
'
,
'
jscs:grunt
'
,
'
qunit
'
]);
// JS distribution task.
// JS distribution task.
grunt
.
registerTask
(
'
dist-js
'
,
[
'
concat
'
,
'
uglify:core
'
]);
grunt
.
registerTask
(
'
dist-js
'
,
[
'
concat
'
,
'
uglify:core
'
]);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets