aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-10-10 00:08:49 +0200
committerFelix Nagel <info@felixnagel.com>2013-10-10 00:08:49 +0200
commite26e0df3afdfe6c43ed9f904281abb7e38ba1df1 (patch)
tree03ab5416339969869855786ab5154e7e08b650ac /Gruntfile.js
parentf8377ed5afe083a916f965aee4a30a65dfd2560a (diff)
parent9620812986a090668c44d48a7c85a46b580a89df (diff)
downloadjquery-ui-e26e0df3afdfe6c43ed9f904281abb7e38ba1df1.tar.gz
jquery-ui-e26e0df3afdfe6c43ed9f904281abb7e38ba1df1.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 26e4a88b9..8c0a940bc 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -68,19 +68,6 @@ var
}
},
- minifyCSS = {
- options: {
- keepSpecialComments: 0
- },
- main: {
- options: {
- keepSpecialComments: "*"
- },
- src: "dist/jquery-ui.css",
- dest: "dist/jquery-ui.min.css"
- }
- },
-
compareFiles = {
all: [
"dist/jquery-ui.js",
@@ -108,16 +95,6 @@ uiFiles.concat( allI18nFiles ).forEach(function( file ) {
minify[ file ].files[ mapMinFile( file ) ] = file;
});
-cssFiles.forEach(function( file ) {
- minifyCSS[ file ] = {
- options: {
- banner: createBanner()
- },
- src: file,
- dest: "dist/" + file.replace( /\.css$/, ".min.css" ).replace( /themes\/base\//, "themes/base/minified/" )
- };
-});
-
uiFiles.forEach(function( file ) {
// TODO this doesn't do anything until https://github.com/rwldrn/grunt-compare-size/issues/13
compareFiles[ file ] = [ file, mapMinFile( file ) ];
@@ -129,7 +106,6 @@ grunt.loadNpmTasks( "grunt-contrib-uglify" );
grunt.loadNpmTasks( "grunt-contrib-concat" );
grunt.loadNpmTasks( "grunt-contrib-qunit" );
grunt.loadNpmTasks( "grunt-contrib-csslint" );
-grunt.loadNpmTasks( "grunt-contrib-cssmin" );
grunt.loadNpmTasks( "grunt-html" );
grunt.loadNpmTasks( "grunt-compare-size" );
grunt.loadNpmTasks( "grunt-git-authors" );
@@ -187,20 +163,12 @@ grunt.initConfig({
}
},
uglify: minify,
- cssmin: minifyCSS,
htmllint: {
// ignore files that contain invalid html, used only for ajax content testing
all: grunt.file.expand( [ "demos/**/*.html", "tests/**/*.html" ] ).filter(function( file ) {
return !/(?:ajax\/content\d\.html|tabs\/data\/test\.html|tests\/unit\/core\/core.*\.html)/.test( file );
})
},
- copy: {
- dist_units_images: {
- src: "themes/base/images/*",
- strip: /^themes\/base\//,
- dest: "dist/"
- }
- },
qunit: {
files: expandFiles( "tests/unit/**/*.html" ).filter(function( file ) {
// disabling everything that doesn't (quite) work with PhantomJS for now
@@ -250,7 +218,4 @@ grunt.registerTask( "test", [ "qunit" ] );
grunt.registerTask( "sizer", [ "concat:ui", "uglify:main", "compare_size:all" ] );
grunt.registerTask( "sizer_all", [ "concat:ui", "uglify", "compare_size" ] );
-// "copy:dist_units_images" is used by unit tests
-grunt.registerTask( "build", [ "concat", "uglify", "cssmin", "copy:dist_units_images" ] );
-
};