зеркало из https://github.com/microsoft/paris.git
Trying to use Paris through NPM
This commit is contained in:
Родитель
469fa1823f
Коммит
62ba8d1d1f
|
@ -1,6 +1,5 @@
|
|||
const gulp = require('gulp');
|
||||
const ts = require('gulp-typescript');
|
||||
const jasmine = require('gulp-jasmine');
|
||||
const clean = require('gulp-clean');
|
||||
const runSequence = require('run-sequence');
|
||||
|
||||
|
@ -22,18 +21,10 @@ gulp.task('clean', function () {
|
|||
.pipe(clean());
|
||||
});
|
||||
|
||||
gulp.task('test:run', function() {
|
||||
return gulp.src('dist/spec/**')
|
||||
.pipe(jasmine())
|
||||
});
|
||||
|
||||
gulp.task('watch', ['default'], function() {
|
||||
gulp.watch('src/*.ts', ['default']);
|
||||
});
|
||||
|
||||
gulp.task('test', [], function(cb) {
|
||||
runSequence('clean', 'build', 'test:run', cb);
|
||||
});
|
||||
gulp.task('default', [], function(cb) {
|
||||
runSequence('clean', 'build', cb);
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче