Skip to content
Permalink
Browse files

[DDW-697] Adds paths to new scripts in gulpfile.js

  • Loading branch information...
MarcusHurney committed Jul 12, 2019
1 parent 144e4ef commit a89ca731bceb049fef52a6438e1e3e833c7b322a
Showing with 21 additions and 5 deletions.
  1. +21 −5 gulpfile.js
@@ -121,7 +121,7 @@ gulp.task('prepare:themes:utils', () =>
'source/renderer/app/themes/utils/constants.js',
'source/renderer/app/themes/utils/createTheme.js',
'source/renderer/app/themes/utils/createShades.js',
'source/renderer/app/themes/utils/index.js',
'source/renderer/app/themes/utils/updateThemes.js',
])
.pipe(flowRemoveTypes())
.pipe(gulp.dest('dist/utils'))
@@ -138,6 +138,25 @@ gulp.task('prepare:themes:daedalus', () =>
.pipe(gulp.dest('dist/daedalus'))
);

gulp.task('prepare:themes:scripts', () =>
gulp
.src([
'source/renderer/app/themes/scripts/check.js',
'source/renderer/app/themes/scripts/update.js',
])
.pipe(flowRemoveTypes())
.pipe(gulp.dest('dist/scripts'))
);

gulp.task(
'prepare:themes',
gulp.series(
'prepare:themes:utils',
'prepare:themes:daedalus',
'prepare:themes:scripts'
)
);

gulp.task(
'build:watch',
gulp.series(
@@ -149,10 +168,7 @@ gulp.task(
)
);

gulp.task(
'build:themes',
gulp.series('clean:dist', 'prepare:themes:utils', 'prepare:themes:daedalus')
);
gulp.task('build:themes', gulp.series('clean:dist', 'prepare:themes'));

gulp.task(
'test:e2e:nodemon',

0 comments on commit a89ca73

Please sign in to comment.
You can’t perform that action at this time.