diff options
-rw-r--r-- | gulpfile.babel.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js index fcdefd3d3..193f08813 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js | |||
@@ -38,6 +38,10 @@ const paths = { | |||
38 | src: 'recipes/*.tar.gz', | 38 | src: 'recipes/*.tar.gz', |
39 | dest: 'build/recipes/', | 39 | dest: 'build/recipes/', |
40 | }, | 40 | }, |
41 | recipeInfo: { | ||
42 | src: 'recipes/*.json', | ||
43 | dest: 'build/recipes/', | ||
44 | }, | ||
41 | html: { | 45 | html: { |
42 | src: 'src/**/*.html', | 46 | src: 'src/**/*.html', |
43 | dest: 'build/', | 47 | dest: 'build/', |
@@ -202,11 +206,15 @@ export function recipes() { | |||
202 | return gulp.src(paths.recipes.src, { since: gulp.lastRun(recipes) }) | 206 | return gulp.src(paths.recipes.src, { since: gulp.lastRun(recipes) }) |
203 | .pipe(gulp.dest(paths.recipes.dest)); | 207 | .pipe(gulp.dest(paths.recipes.dest)); |
204 | } | 208 | } |
209 | export function recipeInfo() { | ||
210 | return gulp.src(paths.recipeInfo.src, { since: gulp.lastRun(recipeInfo) }) | ||
211 | .pipe(gulp.dest(paths.recipeInfo.dest)); | ||
212 | } | ||
205 | 213 | ||
206 | const build = gulp.series( | 214 | const build = gulp.series( |
207 | clean, | 215 | clean, |
208 | gulp.parallel(mvSrc, mvPackageJson, mvLernaPackages), | 216 | gulp.parallel(mvSrc, mvPackageJson, mvLernaPackages), |
209 | gulp.parallel(html, scripts, styles, recipes), | 217 | gulp.parallel(html, scripts, styles, recipes, recipeInfo), |
210 | dictionaries, | 218 | dictionaries, |
211 | ); | 219 | ); |
212 | export { build }; | 220 | export { build }; |