Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-css-flip.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2015-02-05 14:07:23 +0300
committerXhmikosR <xhmikosr@gmail.com>2015-02-05 14:12:34 +0300
commit2479c4e768207d4e5e54d27e5a91bd708b67dddf (patch)
treeab84b723517f2ad2abbb7dec014940647d2f36bc
parentee9dc235d22999156c649409716993c31a3db703 (diff)
Add `lint` target in the `test` one too.
-rw-r--r--Gruntfile.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 38615c3..b240dbf 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -81,13 +81,13 @@ module.exports = function (grunt) {
// These plugins provide necessary tasks.
require('load-grunt-tasks')(grunt, {scope: 'devDependencies'});
+ grunt.registerTask('lint', ['jshint', 'eslint', 'jscs']);
+
// Whenever the "test" task is run, first clean the "tmp" dir, then run this
// plugin's task(s), then test the result.
- grunt.registerTask('test', ['clean', 'cssflip', 'nodeunit']);
-
- grunt.registerTask('lint', ['jshint', 'eslint', 'jscs']);
+ grunt.registerTask('test', ['lint', 'clean', 'cssflip', 'nodeunit']);
// By default, lint and run all tests.
- grunt.registerTask('default', ['lint', 'test']);
+ grunt.registerTask('default', 'test');
};