Skip to content

Commit 23959e5

Browse files
committed
Update gulpfile
1 parent e4a80e1 commit 23959e5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

gulpfile.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
'use strict';
44

5-
var gulp = require('gulp'),
6-
markdownpdf = require('gulp-markdown-pdf');
5+
var gulp = require('gulp');
6+
var shell = require('gulp-shell');
77

8-
gulp.task('default', function () {
9-
return gulp.src('README.md')
10-
.pipe(markdownpdf())
11-
.pipe(gulp.dest('build'));
12-
});
8+
gulp.task('default', shell.task([
9+
'mkdir temp && cp -r ./README.md ./images/* temp',
10+
'./node_modules/.bin/generate-md --layout minko-book --input ./temp --output ../angularjs-in-patterns-gh-pages',
11+
'rm -rf temp'
12+
]));

0 commit comments

Comments
 (0)