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';
22import * as fs from 'fs' ;
33import * as gulp from 'gulp' ;
44import * as path from 'path' ;
5- import { buildConfig } from 'material2-build-tools' ;
5+ import { buildConfig , sequenceTask } from 'material2-build-tools' ;
66
77/* Those imports lack typings. */
88const gulpClean = require ( 'gulp-clean' ) ;
9- const gulpRunSequence = require ( 'run-sequence' ) ;
109const gulpConnect = require ( 'gulp-connect' ) ;
1110
1211// There are no type definitions available for these imports.
@@ -129,13 +128,10 @@ export function buildAppTask(appName: string) {
129128 . map ( taskName => `:build:${ appName } :${ taskName } ` )
130129 . filter ( taskName => gulp . hasTask ( taskName ) ) ;
131130
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+ ) ;
139135}
140136
141137/**
You can’t perform that action at this time.
0 commit comments