diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index c4f5d42..a16a374 100644 --- a/gulpfile.js +++ b/gulpfile.js | |||
@@ -31,6 +31,7 @@ | |||
31 | 'index': dir.src + '/index.hbs', | 31 | 'index': dir.src + '/index.hbs', |
32 | 'css': dir.src + '/css/**/*.css', | 32 | 'css': dir.src + '/css/**/*.css', |
33 | 'js': dir.src + '/js/**/*.js', | 33 | 'js': dir.src + '/js/**/*.js', |
34 | 'keybase': dir.src + '/keybase.txt', | ||
34 | 'talks': dir.src + '/talks', | 35 | 'talks': dir.src + '/talks', |
35 | 'talkindex': dir.src + '/talks/index.hbs', | 36 | 'talkindex': dir.src + '/talks/index.hbs', |
36 | 'posts': dir.src + '/posts', | 37 | 'posts': dir.src + '/posts', |
@@ -190,6 +191,14 @@ | |||
190 | }); | 191 | }); |
191 | 192 | ||
192 | /** | 193 | /** |
194 | * Package keybase static files. | ||
195 | */ | ||
196 | gulp.task('package:keybase', function () { | ||
197 | return gulp.src(paths.keybase, {'keybase': dir.src}) | ||
198 | .pipe(gulp.dest(dir.dist)); | ||
199 | }); | ||
200 | |||
201 | /** | ||
193 | * Package all css. | 202 | * Package all css. |
194 | */ | 203 | */ |
195 | gulp.task('package:css', function () { | 204 | gulp.task('package:css', function () { |
@@ -365,7 +374,7 @@ | |||
365 | gulp.task('package', ['package:html', | 374 | gulp.task('package', ['package:html', |
366 | 'package:talks', 'package:talkindex', | 375 | 'package:talks', 'package:talkindex', |
367 | 'package:posts', 'package:postindex', | 376 | 'package:posts', 'package:postindex', |
368 | 'package:libs', | 377 | 'package:libs', 'package:keybase', |
369 | 'package:images', 'package:css', 'package:js']); | 378 | 'package:images', 'package:css', 'package:js']); |
370 | 379 | ||
371 | gulp.task('rsync', function () { | 380 | gulp.task('rsync', function () { |