1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix chrome build

This commit is contained in:
Dan Finlay 2016-07-26 16:48:48 -07:00
parent ec5b1b6159
commit de5a2bf9bc

View File

@ -57,13 +57,13 @@ gulp.task('manifest:cleanup', function() {
delete json.applications delete json.applications
return json return json
})) }))
.pipe(gulp.dest('./dist/chrome', { overwrite: false })) .pipe(gulp.dest('./dist/chrome', { overwrite: true }))
}) })
gulp.task('copy:chrome', gulp.series( gulp.task('copy:chrome', gulp.series(
copyTask({ copyTask({
source: './dist/firefox', source: './dist/firefox',
destination: './dist/chrome', destination: './dist/chrome',
pattern: '**/[^manifest]*' pattern: '**/*'
}), 'manifest:cleanup')) }), 'manifest:cleanup'))
gulp.task('copy', gulp.series(gulp.parallel('copy:locales','copy:images','copy:fonts','copy:reload','copy:root'), 'copy:chrome')) gulp.task('copy', gulp.series(gulp.parallel('copy:locales','copy:images','copy:fonts','copy:reload','copy:root'), 'copy:chrome'))
gulp.task('copy:watch', function(){ gulp.task('copy:watch', function(){