Skip to content
Permalink
Browse files

Gruntfile: Formatting

  • Loading branch information
jzaefferer committed Dec 7, 2013
1 parent c3d382e commit 019e547ed9c4b26eeb37aa98fa0c9f3790d8d81e
Showing with 9 additions and 9 deletions.
  1. +9 −9 Gruntfile.js
@@ -19,8 +19,8 @@ var
uiFiles = coreFiles.map(function( file ) {
return "ui/" + file;
}).concat( expandFiles( "ui/*.js" ).filter(function( file ) {
return coreFiles.indexOf( file.substring(3) ) === -1;
})),
return coreFiles.indexOf( file.substring( 3 ) ) === -1;
}) ),

allI18nFiles = expandFiles( "ui/i18n/*.js" ),

@@ -97,7 +97,7 @@ uiFiles.concat( allI18nFiles ).forEach(function( file ) {

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 ) ];
compareFiles[ file ] = [ file, mapMinFile( file ) ];
});

// grunt plugins
@@ -129,7 +129,7 @@ function createBanner( files ) {
}

grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
pkg: grunt.file.readJSON( "package.json" ),
files: {
dist: "<%= pkg.name %>-<%= pkg.version %>"
},
@@ -205,10 +205,10 @@ grunt.initConfig({
}
});

grunt.registerTask( "default", [ "lint", "test" ] );
grunt.registerTask( "lint", [ "asciilint", "jshint", "jscs", "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( "default", [ "lint", "test" ]);
grunt.registerTask( "lint", [ "asciilint", "jshint", "jscs", "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" ]);

};

0 comments on commit 019e547

Please sign in to comment.
You can’t perform that action at this time.