]> 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>
Fri, 15 Mar 2013 13:04:48 +0000 (09:04 -0400)
Gruntfile.js

index d610f2c4763058cfbbc966e9efebd87a1d4376f8..e4fa333fd9cf862dae5d167df6040d1dd2918b6e 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" ] );