File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ import * as child_process from 'child_process';
2
2
import * as fs from 'fs' ;
3
3
import * as gulp from 'gulp' ;
4
4
import * as path from 'path' ;
5
- import { buildConfig } from 'material2-build-tools' ;
5
+ import { buildConfig , sequenceTask } from 'material2-build-tools' ;
6
6
7
7
/* Those imports lack typings. */
8
8
const gulpClean = require ( 'gulp-clean' ) ;
9
- const gulpRunSequence = require ( 'run-sequence' ) ;
10
9
const gulpConnect = require ( 'gulp-connect' ) ;
11
10
12
11
// There are no type definitions available for these imports.
@@ -129,13 +128,10 @@ export function buildAppTask(appName: string) {
129
128
. map ( taskName => `:build:${ appName } :${ taskName } ` )
130
129
. filter ( taskName => gulp . hasTask ( taskName ) ) ;
131
130
132
- return ( done : ( ) => void ) => {
133
- gulpRunSequence (
134
- 'material:clean-build' ,
135
- [ ...buildTasks ] ,
136
- done
137
- ) ;
138
- } ;
131
+ return sequenceTask (
132
+ 'material:clean-build' ,
133
+ [ ...buildTasks ]
134
+ ) ;
139
135
}
140
136
141
137
/**
You can’t perform that action at this time.
0 commit comments