aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-06-19 16:26:33 -0700
committerMark Otto <[email protected]>2015-06-19 16:26:33 -0700
commitbc29c016b7afefa2a9a42e94efaee58695049285 (patch)
treeac294f7fbc18d4ba8c6b4179b7d1cbeb6481d70b /Gruntfile.js
parent8410afe0e104459a613f6232ad46334aa8b99fda (diff)
parent3df2d085ed219a16848b96e90a72fcd5575a5270 (diff)
downloadbootstrap-bc29c016b7afefa2a9a42e94efaee58695049285.tar.xz
bootstrap-bc29c016b7afefa2a9a42e94efaee58695049285.zip
Merge branch 'v4' into v4_builds
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index e33fc7c50..df7dfe45a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -205,11 +205,11 @@ module.exports = function (grunt) {
// CSS build configuration
scsslint: {
- scss: ['scss/*.scss', '!scss/_normalize.scss'],
options: {
- config: 'scss/.scss-lint.yml',
- reporterOutput: 'scss-lint-report.xml'
- }
+ config: 'scss/.scsslint.yml',
+ reporterOutput: null
+ },
+ src: ['scss/*.scss', '!scss/_normalize.scss']
},
postcss: {
@@ -460,7 +460,7 @@ module.exports = function (grunt) {
// JS distribution task.
grunt.registerTask('dist-js', ['concat', 'lineremover', 'babel:dist', 'stamp', 'uglify:core', 'commonjs']);
- grunt.registerTask('test-scss', ['scsslint:scss']);
+ grunt.registerTask('test-scss', ['scsslint']);
// CSS distribution task.
// Supported Compilers: sass (Ruby) and libsass.
@@ -498,7 +498,7 @@ module.exports = function (grunt) {
grunt.registerTask('lint-docs-js', ['jscs:assets']);
grunt.registerTask('docs', ['docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs']);
- grunt.registerTask('docs-github', ['jekyll:github']);
+ grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github', 'htmlmin', 'compress']);
// Task for updating the cached npm packages used by the Travis build (which are controlled by test-infra/npm-shrinkwrap.json).
// This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.