@@ -11,36 +11,36 @@ var uglify = require('gulp-uglify');
11
11
var dependencies = [ './node_modules/stackframe/dist/stackframe.js' ] ;
12
12
var source = 'error-stack-parser.js' ;
13
13
14
- gulp . task ( 'lint' , function ( ) {
14
+ gulp . task ( 'lint' , function ( ) {
15
15
return gulp . src ( source )
16
16
. pipe ( jshint ( ) )
17
17
. pipe ( jshint . reporter ( 'default' ) )
18
18
. pipe ( jshint . reporter ( 'fail' ) ) ;
19
19
} ) ;
20
20
21
- gulp . task ( 'test' , function ( done ) {
21
+ gulp . task ( 'test' , function ( done ) {
22
22
new karma . Server ( {
23
23
configFile : __dirname + '/karma.conf.js' ,
24
24
singleRun : true
25
25
} , done ) . start ( ) ;
26
26
} ) ;
27
27
28
- gulp . task ( 'test-pr' , [ 'copy' , 'dist' ] , function ( done ) {
28
+ gulp . task ( 'test-pr' , [ 'copy' , 'dist' ] , function ( done ) {
29
29
new karma . Server ( {
30
30
configFile : __dirname + '/karma.conf.js' ,
31
31
browsers : [ 'Firefox' , 'Chrome_Travis' ] ,
32
32
singleRun : true
33
33
} , done ) . start ( ) ;
34
34
} ) ;
35
35
36
- gulp . task ( 'test-ci' , [ 'dist' ] , function ( done ) {
36
+ gulp . task ( 'test-ci' , [ 'dist' ] , function ( done ) {
37
37
new karma . Server ( {
38
38
configFile : __dirname + '/karma.conf.ci.js' ,
39
39
singleRun : true
40
40
} , done ) . start ( ) ;
41
41
} ) ;
42
42
43
- gulp . task ( 'copy' , function ( ) {
43
+ gulp . task ( 'copy' , function ( ) {
44
44
return gulp . src ( source )
45
45
. pipe ( gulp . dest ( 'dist' ) ) ;
46
46
} ) ;
@@ -58,11 +58,11 @@ gulp.task('clean', del.bind(null, ['build', 'coverage', 'dist']));
58
58
59
59
gulp . task ( 'pr' , [ 'lint' , 'test-pr' ] ) ;
60
60
61
- gulp . task ( 'ci' , [ 'lint' , 'test-ci' ] , function ( ) {
61
+ gulp . task ( 'ci' , [ 'lint' , 'test-ci' ] , function ( ) {
62
62
gulp . src ( './coverage/**/lcov.info' )
63
63
. pipe ( coveralls ( ) ) ;
64
64
} ) ;
65
65
66
- gulp . task ( 'default' , [ 'clean' ] , function ( cb ) {
66
+ gulp . task ( 'default' , [ 'clean' ] , function ( cb ) {
67
67
runSequence ( 'lint' , 'dist' , 'test' , cb ) ;
68
68
} ) ;
0 commit comments