aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2016-01-08 13:26:58 -0500
committerTimmy Willison <timmywillisn@gmail.com>2016-01-08 13:39:46 -0500
commitb4e139cb7bdd890c0bf7d1c64f112e44100598a5 (patch)
tree4a5fbdf0fa14e7ac70d813c1001b5ceeac455cc0
parent47c21efce522204d0c3e779faa10de2ee63cedd7 (diff)
downloadjquery-b4e139cb7bdd890c0bf7d1c64f112e44100598a5.tar.gz
jquery-b4e139cb7bdd890c0bf7d1c64f112e44100598a5.zip
Release: ensure files are copied to dist
-rw-r--r--build/release/dist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/release/dist.js b/build/release/dist.js
index 6439f6b31..35d074ae8 100644
--- a/build/release/dist.js
+++ b/build/release/dist.js
@@ -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