forked from ftdebugger/injectify-include
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulpfile.js
More file actions
30 lines (23 loc) · 648 Bytes
/
gulpfile.js
File metadata and controls
30 lines (23 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*jshint node: true*/
(function () {
//noinspection BadExpressionStatementJS
"use strict";
var gulp = require("gulp"),
karma = require("karma").server;
require("./inject");
gulp.task('karma', function (done) {
karma.start({
configFile: __dirname + '/karma.conf.js',
autoWatch: true,
singleRun: false
}, done);
});
gulp.task('test', function (done) {
karma.start({
configFile: __dirname + '/karma.conf.js',
autoWatch: false,
singleRun: true
}, done);
});
gulp.task('default', ['karma']);
})();