diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-06-11 10:56:56 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-06-11 10:56:56 -0400 |
commit | a59c896b5444984c02b340b5f74258fabc484824 (patch) | |
tree | 9d52038162463f029109960a89a0287923452c79 /build/tasks | |
parent | 4866182deefdd06598b65fc79c6b8e7df05a54e4 (diff) | |
download | jquery-ui-a59c896b5444984c02b340b5f74258fabc484824.tar.gz jquery-ui-a59c896b5444984c02b340b5f74258fabc484824.zip |
Build: Adding missing require in build.js and add buid/tasks/*.js to lint.
Diffstat (limited to 'build/tasks')
-rw-r--r-- | build/tasks/build.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index d2a5094ec..51c2fefdb 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.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" ) ); |