File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11var benchpress = require ( 'angular-benchpress/lib/cli' ) ;
2+ var del = require ( 'del' ) ;
23var es = require ( 'event-stream' ) ;
34var file2moduleName = require ( './file2modulename' ) ;
45var fs = require ( 'fs' ) ;
@@ -109,9 +110,8 @@ var sourceTypeConfigs = {
109110} ;
110111
111112
112- gulp . task ( 'modules/clean' , function ( ) {
113- return gulp . src ( 'build' , { read : false } )
114- . pipe ( $ . rimraf ( ) ) ;
113+ gulp . task ( 'modules/clean' , function ( cb ) {
114+ del ( 'build' , cb ) ;
115115} ) ;
116116
117117gulp . task ( 'modules/build.dart/src' , function ( ) {
Original file line number Diff line number Diff line change 99 "license" : " Apache-2.0" ,
1010 "dependencies" : {
1111 "angular-benchpress" : " ^0.1.3" ,
12+ "del" : " ~1" ,
1213 "es6-module-loader" : " ^0.9.2" ,
1314 "event-stream" : " ^3.1.5" ,
1415 "glob" : " ^4.0.6" ,
1516 "gulp-connect" : " ~1.0.5" ,
16- "gulp-rimraf" : " ^0.1.0" ,
1717 "karma" : " ^0.12.23" ,
1818 "karma-chrome-launcher" : " ^0.1.4" ,
1919 "karma-cli" : " ^0.0.4" ,
You can’t perform that action at this time.
0 commit comments