diff options
Diffstat (limited to 'build/release/dist.js')
-rw-r--r-- | build/release/dist.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/build/release/dist.js b/build/release/dist.js index 66cc6cde7..84ce35d3c 100644 --- a/build/release/dist.js +++ b/build/release/dist.js @@ -12,7 +12,6 @@ module.exports = function( Release, files, complete ) { // These files are included with the distribution extras = [ "src", - "external/sizzle", "LICENSE.txt", "AUTHORS.txt", "package.json" @@ -56,12 +55,18 @@ module.exports = function( Release, files, complete ) { function copy() { // Copy dist files - var distFolder = Release.dir.dist + "/dist"; + var distFolder = Release.dir.dist + "/dist", + externalFolder = Release.dir.dist + "/external"; + shell.mkdir( "-p", distFolder ); files.forEach( function( file ) { shell.cp( "-f", Release.dir.repo + "/" + file, distFolder ); } ); + // Copy Sizzle + shell.mkdir( "-p", externalFolder ); + shell.cp( "-rf", Release.dir.repo + "/external/sizzle", externalFolder ); + // Copy other files extras.forEach( function( file ) { shell.cp( "-rf", Release.dir.repo + "/" + file, Release.dir.dist ); |