mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
fix gulpfile on Windows when the working directory contains spaces
This commit is contained in:
parent
a2e119a88b
commit
d2e5dd888a
@ -63,17 +63,17 @@ gulp.task('lint', function() {
|
||||
});
|
||||
|
||||
gulp.task('test-node', function(cb) {
|
||||
var cmd = util.format('%s %s -T', options.nodePath, options.nodeBin);
|
||||
var cmd = util.format('%s "%s" -T', options.nodePath, options.nodeBin);
|
||||
exec(cmd, execCb.bind(null, cb));
|
||||
});
|
||||
|
||||
gulp.task('test-rhino', function(cb) {
|
||||
var cmd = util.format('%s -T -q "parser=rhino"', options.rhinoBin);
|
||||
var cmd = util.format('"%s" -T -q "parser=rhino"', options.rhinoBin);
|
||||
exec(cmd, execCb.bind(null, cb));
|
||||
});
|
||||
|
||||
gulp.task('test-rhino-esprima', function(cb) {
|
||||
var cmd = util.format('%s -T -q "parser=esprima"', options.rhinoBin);
|
||||
var cmd = util.format('"%s" -T -q "parser=esprima"', options.rhinoBin);
|
||||
exec(cmd, execCb.bind(null, cb));
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user