chore: make incremental dart tests work again

This commit is contained in:
Tobias Bosch 2016-02-17 08:34:58 -08:00 committed by vsavkin
parent aaafdf03ce
commit e1f6679c75
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@ class TSToDartTranspiler implements DiffingBroccoliPlugin {
}
rebuild(treeDiff: DiffResult) {
let toEmit = [path.resolve(this.inputPath, 'angular2/manual_typings/globals.d.ts')];
let toEmit = [
path.resolve(this.inputPath, 'angular2/manual_typings/globals.d.ts'),
path.resolve(this.inputPath, 'angular2/typings/es6-promise/es6-promise.d.ts'),
path.resolve(this.inputPath, 'angular2/typings/es6-collections/es6-collections.d.ts')
];
let getDartFilePath = (path: string) => path.replace(/((\.js)|(\.ts))$/i, '.dart');
treeDiff.addedPaths.concat(treeDiff.changedPaths)
.forEach((changedPath) => {