We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a80e1 commit 23959e5Copy full SHA for 23959e5
gulpfile.js
@@ -2,11 +2,11 @@
2
3
'use strict';
4
5
-var gulp = require('gulp'),
6
- markdownpdf = require('gulp-markdown-pdf');
+var gulp = require('gulp');
+var shell = require('gulp-shell');
7
8
-gulp.task('default', function () {
9
- return gulp.src('README.md')
10
- .pipe(markdownpdf())
11
- .pipe(gulp.dest('build'));
12
-});
+gulp.task('default', shell.task([
+ 'mkdir temp && cp -r ./README.md ./images/* temp',
+ './node_modules/.bin/generate-md --layout minko-book --input ./temp --output ../angularjs-in-patterns-gh-pages',
+ 'rm -rf temp'
+]));
0 commit comments