Skip to content

Commit 43be733

Browse files
committed
1 parent 721cb40 commit 43be733

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gulpfile.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ var jshint = require('gulp-jshint');
55
var jasmine = require('gulp-jasmine');
66
var stylish = require('jshint-stylish');
77
var jscs = require('gulp-jscs');
8+
var isWin = /^win/.test(process.platform);
89

910
gulp.task('jsdoc', shell.task([
11+
(isWin) ?
12+
'"node_modules/.bin/jsdoc.cmd" -c ./doc-config.json' :
1013
'./node_modules/.bin/jsdoc -c ./doc-config.json'
1114
]));
1215

0 commit comments

Comments
 (0)