mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
build - mascara - copy proxy html
This commit is contained in:
parent
18acdfe6b3
commit
b88119c238
17
gulpfile.js
17
gulpfile.js
@ -78,6 +78,11 @@ gulp.task('copy:reload', copyTask({
|
||||
destinations: commonPlatforms.map(platform => `./dist/${platform}/scripts`),
|
||||
pattern: '/chromereload.js',
|
||||
}))
|
||||
gulp.task('copy:html', copyTask({
|
||||
source: './app/',
|
||||
destinations: commonPlatforms.map(platform => `./dist/${platform}`),
|
||||
pattern: '/*.html',
|
||||
}))
|
||||
|
||||
// copy extension
|
||||
|
||||
@ -86,10 +91,13 @@ gulp.task('copy:manifest', copyTask({
|
||||
destinations: browserPlatforms.map(platform => `./dist/${platform}`),
|
||||
pattern: '/*.json',
|
||||
}))
|
||||
gulp.task('copy:html', copyTask({
|
||||
source: './app/',
|
||||
destinations: browserPlatforms.map(platform => `./dist/${platform}`),
|
||||
pattern: '/*.html',
|
||||
|
||||
// copy mascara
|
||||
|
||||
gulp.task('copy:html:mascara', copyTask({
|
||||
source: './mascara/',
|
||||
destinations: [`./dist/mascara/`],
|
||||
pattern: 'proxy/index.html',
|
||||
}))
|
||||
|
||||
// manifest tinkering
|
||||
@ -143,6 +151,7 @@ const copyTaskNames = [
|
||||
'copy:fonts',
|
||||
'copy:manifest',
|
||||
'copy:html',
|
||||
'copy:html:mascara',
|
||||
'copy:contractImages',
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user