summaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2018-08-23 22:25:49 -0500
committerMonty Taylor <mordred@inaugust.com>2018-08-23 22:29:30 -0500
commit316b02fbe347dc2d6fb41672e9927bbbf3e4c514 (patch)
tree4d782214498e7163da36c1aa34b9459caf62b764 /gulpfile.js
parent1f40de78d19e97f2b52446becbddb59a77516d15 (diff)
Update to yarn
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js26
1 files changed, 14 insertions, 12 deletions
diff --git a/gulpfile.js b/gulpfile.js
index a16a374..189c642 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -177,9 +177,11 @@
177 ])) 177 ]))
178 .pipe(gulp.dest(dir.dist)); 178 .pipe(gulp.dest(dir.dist));
179 179
180 return streamqueue({'objectMode': true}, resolveCSS, 180 streamqueue({'objectMode': true}, resolveCSS,
181 resolveLESS, resolveReveal, 181 resolveLESS, resolveReveal,
182 resolveLibs, resolveFonts); 182 resolveLibs, resolveFonts);
183 cb()
184
183 }); 185 });
184 186
185 /** 187 /**
@@ -371,11 +373,11 @@
371 /** 373 /**
372 * Package the entire site into the dist folder. 374 * Package the entire site into the dist folder.
373 */ 375 */
374 gulp.task('package', ['package:html', 376 gulp.task('package', gulp.series('package:html',
375 'package:talks', 'package:talkindex', 377 'package:talks', 'package:talkindex',
376 'package:posts', 'package:postindex', 378 'package:posts', 'package:postindex',
377 'package:libs', 'package:keybase', 379 'package:libs', 'package:keybase',
378 'package:images', 'package:css', 'package:js']); 380 'package:images', 'package:css', 'package:js'));
379 381
380 gulp.task('rsync', function () { 382 gulp.task('rsync', function () {
381 gulp.src(dir.dist) 383 gulp.src(dir.dist)
@@ -397,7 +399,7 @@
397 /** 399 /**
398 * Build the current release package and push it 400 * Build the current release package and push it
399 */ 401 */
400 gulp.task('release', ['package', 'rsync', 'push']); 402 gulp.task('release', gulp.series('package', 'rsync', 'push'));
401 403
402 /** 404 /**
403 * Start a local server and serve the application code. This is 405 * Start a local server and serve the application code. This is
@@ -406,14 +408,14 @@
406 * @return {*} A gulp stream that performs this action. 408 * @return {*} A gulp stream that performs this action.
407 */ 409 */
408 gulp.task('serve', function () { 410 gulp.task('serve', function () {
409 gulp.watch(paths.html, ['package:html']); 411 gulp.watch(paths.html, gulp.series('package:html'));
410 gulp.watch(paths.images, ['package:images']); 412 gulp.watch(paths.images, gulp.series('package:images'));
411 gulp.watch(paths.talks, ['package:talks']); 413 gulp.watch(paths.talks, gulp.series('package:talks'));
412 gulp.watch(dir.src + '/talks/*.hbs', ['package:talks']); 414 gulp.watch(dir.src + '/talks/*.hbs', gulp.series('package:talks'));
413 gulp.watch(paths.css, ['package:css']); 415 gulp.watch(paths.css, gulp.series('package:css'));
414 gulp.watch(paths.js, ['package:js']); 416 gulp.watch(paths.js, gulp.series('package:js'));
415 gulp.watch(paths.posts, ['package:posts']); 417 gulp.watch(paths.posts, gulp.series('package:posts'));
416 gulp.watch(paths.index, ['package:posts']); 418 gulp.watch(paths.index, gulp.series('package:posts'));
417 419
418 return gulp.src(dir.dist) 420 return gulp.src(dir.dist)
419 .pipe(webserver({ 421 .pipe(webserver({