提交 48fe8d09 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

gulp-shell already prepends 'node_modules/.bin' to the PATH.

上级 4b9aaa6c
...@@ -31,11 +31,11 @@ gulp.task('lint', () => ...@@ -31,11 +31,11 @@ gulp.task('lint', () =>
}); });
gulp.task('test', shell.task( gulp.task('test', shell.task(
[ `node_modules/.bin/tap --bail --color --reporter=spec ${tests.join(' ')}` ] [ `tap --bail --color --reporter=spec ${tests.join(' ')}` ]
)); ));
gulp.task('test-debug', shell.task( gulp.task('test-debug', shell.task(
[ `node_modules/.bin/tap --bail --reporter=tap ${tests.join(' ')}` ], [ `tap --bail --reporter=tap ${tests.join(' ')}` ],
{ {
env : { DEBUG: '*ERROR* *WARN*' }, env : { DEBUG: '*ERROR* *WARN*' },
verbose : true verbose : true
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论