aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'build/tasks')
-rw-r--r--build/tasks/build.js2
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" ) );