aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-29 11:54:59 +0800
committerkumavis <aaron@kumavis.me>2018-03-29 11:54:59 +0800
commitb88119c23851144448771e8a6de97e48fb96b2b0 (patch)
treed79292f7084bb86bde603de2cc85c8faee8c98d6
parent18acdfe6b3fecf5e681d584898ef8399c62b0fa5 (diff)
downloadtangerine-wallet-browser-b88119c23851144448771e8a6de97e48fb96b2b0.tar
tangerine-wallet-browser-b88119c23851144448771e8a6de97e48fb96b2b0.tar.gz
tangerine-wallet-browser-b88119c23851144448771e8a6de97e48fb96b2b0.tar.bz2
tangerine-wallet-browser-b88119c23851144448771e8a6de97e48fb96b2b0.tar.lz
tangerine-wallet-browser-b88119c23851144448771e8a6de97e48fb96b2b0.tar.xz
tangerine-wallet-browser-b88119c23851144448771e8a6de97e48fb96b2b0.tar.zst
tangerine-wallet-browser-b88119c23851144448771e8a6de97e48fb96b2b0.zip
build - mascara - copy proxy html
-rw-r--r--gulpfile.js17
1 files changed, 13 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 740b1a296..68618dfb4 100644
--- a/gulpfile.js
+++ b/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',
]