Skip to content

Commit

Permalink
fix(gen): fix doc img generation\n\nAdd gulp task to copy images to g…
Browse files Browse the repository at this point in the history
…h-pages
  • Loading branch information
Awk34 committed Sep 1, 2016
1 parent 6f534fe commit 5bb43be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,14 @@ gulp.task('lint', () => console.log('TODO'));
gulp.task('daux', () => {
return execAsync('daux');
});
gulp.task('copy_docs_images', () => {
return gulp.src('./media/svg/*')
.pipe(gulp.dest('./static/'));
});
gulp.task('gh-pages', () => {
return gulp.src('./static/**/*')
.pipe(ghPages());
});
gulp.task('docs', cb => {
return runSequence('daux', 'gh-pages', cb);
return runSequence('daux', 'copy_docs_images', 'gh-pages', cb);
});

0 comments on commit 5bb43be

Please sign in to comment.