Skip to content

Commit

Permalink
Fix zip command
Browse files Browse the repository at this point in the history
  • Loading branch information
minodisk committed Aug 11, 2015
1 parent 7237a7d commit ec7d033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ gulp.task('release', ['compile'], (cb) => {

await Promise.all(dirs.map(({name}) => {
console.log('zip:', name);
return spawn('zip', [`${TEMP_DIR}/${name}.zip -r ${BUILD_DIR}/${name}`]);
return spawn('zip', [`${TEMP_DIR}/${name}.zip`, '-r', `${BUILD_DIR}/${name}`]);
}));

let id = await (async () => {
Expand Down

0 comments on commit ec7d033

Please sign in to comment.