Merge pull request #491 from MetaMask/FixChromeBuild

Fix chrome build
feature/default_network_editable
Dan Finlay 8 years ago committed by GitHub
commit 79ce99db07
  1. 4
      gulpfile.js

@ -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(){

Loading…
Cancel
Save