mirror of
https://github.com/google/material-design-lite.git
synced 2024-09-11 12:25:38 +03:00
Gulpfile: add initial gulp-mocha support
This commit is contained in:
parent
348ec3e188
commit
97795a6bfe
@ -153,6 +153,12 @@ gulp.task('scripts', function () {
|
||||
.pipe($.size({title: 'scripts'}));
|
||||
});
|
||||
|
||||
// Run Unit Tests
|
||||
gulp.task('mocha', function () {
|
||||
return gulp.src('./test/*.js', { read: false })
|
||||
.pipe(mocha({reporter: 'list'}))
|
||||
});
|
||||
|
||||
// Clean Output Directory
|
||||
gulp.task('clean', del.bind(null, ['.tmp', 'css/*', 'js/*', '!dist/.git'], {dot: true}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user