]> source.dussan.org Git - jquery-ui.git/commitdiff
Grunt: Add lint and test aliases.
authorScott González <scott.gonzalez@gmail.com>
Fri, 15 Mar 2013 13:04:48 +0000 (09:04 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 17 Apr 2013 15:35:52 +0000 (11:35 -0400)
(cherry picked from commit d8468a33790da8e7be46552325e932162b1942af)

Gruntfile.js

index ff64f0c0da49c8416d5e9ed1b2515a0568684830..96e2cbc622fbf68b188d6be52d66c2e05a242ff0 100644 (file)
@@ -367,7 +367,9 @@ grunt.initConfig({
        }
 });
 
-grunt.registerTask( "default", [ "jshint", "csslint", "htmllint", "qunit" ] );
+grunt.registerTask( "default", [ "lint", "test" ] );
+grunt.registerTask( "lint", [ "jshint", "csslint", "htmllint" ] );
+grunt.registerTask( "test", [ "qunit" ] );
 grunt.registerTask( "sizer", [ "concat:ui", "uglify:main", "compare_size:all" ] );
 grunt.registerTask( "sizer_all", [ "concat:ui", "uglify", "compare_size" ] );
 grunt.registerTask( "build", [ "concat", "uglify", "cssmin", "copy:dist_units_images" ] );