Skip to content
Permalink
Browse files

Build: Adding missing require in build.js and add buid/tasks/*.js to …

…lint.
  • Loading branch information
scottgonzalez committed Jun 11, 2012
1 parent 4866182 commit a59c896b5444984c02b340b5f74258fabc484824
Showing with 3 additions and 1 deletion.
  1. +2 −0 build/tasks/build.js
  2. +1 −1 grunt.js
@@ -1,5 +1,7 @@
module.exports = function( grunt ) {

var path = require( "path" );

grunt.registerMultiTask( "copy", "Copy files to destination folder and replace @VERSION with pkg.version", function() {
function replaceVersion( source ) {
return source.replace( /@VERSION/g, grunt.config( "pkg.version" ) );
@@ -293,7 +293,7 @@ grunt.initConfig({
// TODO remove items from this list once rewritten
return !( /(mouse|datepicker|draggable|droppable|resizable|selectable|sortable)\.js$/ ).test( file );
}),
grunt: "grunt.js",
grunt: [ "grunt.js", "build/tasks/*.js" ],
tests: "tests/unit/**/*.js"
},
csslint: {

0 comments on commit a59c896

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