summaryrefslogtreecommitdiff
path: root/gulpfile.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-06 01:34:48 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-06 01:34:48 +0900
commit440cf139bb7d5998523ae29c0c5e6394f570bc6c (patch)
tree0f090fa9dc9c3a0625a33c380c17b51959684aad /gulpfile.ts
parent2.2.0 (diff)
downloadsharkey-440cf139bb7d5998523ae29c0c5e6394f570bc6c.tar.gz
sharkey-440cf139bb7d5998523ae29c0c5e6394f570bc6c.tar.bz2
sharkey-440cf139bb7d5998523ae29c0c5e6394f570bc6c.zip
メタ情報をレンダリングするように
Diffstat (limited to 'gulpfile.ts')
-rw-r--r--gulpfile.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/gulpfile.ts b/gulpfile.ts
index df355e33e7..a9ccbbdb5e 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -59,9 +59,15 @@ gulp.task('build:ts', () => {
.pipe(gulp.dest('./built/'));
});
-gulp.task('build:copy', () =>
+gulp.task('build:copy:views', () =>
+ gulp.src('./src/server/web/views/**/*').pipe(gulp.dest('./built/server/web/views'))
+);
+
+gulp.task('build:copy', ['build:copy:views'], () =>
gulp.src([
'./build/Release/crypto_key.node',
+ './src/const.json',
+ './src/server/web/views/**/*',
'./src/**/assets/**/*',
'!./src/client/app/**/assets/**/*'
]).pipe(gulp.dest('./built/'))