]> source.dussan.org Git - jquery.git/commitdiff
Release: ensure files are copied to dist
authorTimmy Willison <timmywillisn@gmail.com>
Fri, 8 Jan 2016 18:26:58 +0000 (13:26 -0500)
committerTimmy Willison <timmywillisn@gmail.com>
Fri, 8 Jan 2016 18:40:06 +0000 (13:40 -0500)
build/release/dist.js

index 6439f6b319fc0c255a80f7a63dd5f54bd6b19b26..35d074ae88cae6164857d2c94c9cd778b7b33ed4 100644 (file)
@@ -62,12 +62,12 @@ module.exports = function( Release, complete ) {
                        "dist/jquery.min.js",
                        "dist/jquery.min.map"
                ].forEach( function( file ) {
-                       shell.cp( Release.dir.repo + "/" + file, distFolder );
+                       shell.cp( "-f", Release.dir.repo + "/" + file, distFolder );
                } );
 
                // Copy other files
                files.forEach( function( file ) {
-                       shell.cp( "-r", Release.dir.repo + "/" + file, Release.dir.dist );
+                       shell.cp( "-rf", Release.dir.repo + "/" + file, Release.dir.dist );
                } );
 
                // Write generated bower file