Skip to content

Commit

Permalink
No space in generated zip
Browse files Browse the repository at this point in the history
Making zips on windows does not currently work. With this edit (No spaces in generated filename), zip is now created successfully and it still uses date so sorting and ordering files by name will work.
  • Loading branch information
ArsalanDotMe committed Nov 30, 2014
1 parent 0b7656f commit 6c3a0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/_gulpfile.js
Expand Up @@ -331,7 +331,7 @@ gulp.task('clean:zip', function () {

gulp.task('zip', function () {
gulp.src([SETTINGS.build.app + '*', SETTINGS.build.app + '**/*'])
.pipe(gulpPlugins.zip('build-' + new Date() + '.zip'))
.pipe(gulpPlugins.zip('build-' + Date.now() + '.zip'))
.pipe(gulp.dest('./zip/'));

setTimeout(function () {
Expand Down Expand Up @@ -374,4 +374,4 @@ gulp.task('bs', function () {
port: serverConfig.port
}
});
});
});

0 comments on commit 6c3a0bc

Please sign in to comment.