chore: adjust build for `tools/metadata` name change

This commit is contained in:
Tobias Bosch 2016-05-04 10:02:12 -07:00
parent 188bda813e
commit 5a84048f72
4 changed files with 6 additions and 5 deletions

View File

@ -15,7 +15,7 @@
"@angular/compiler": ["../../../dist/packages-dist/compiler"],
"@angular/platform-server": ["../../../dist/packages-dist/platform-server"],
"@angular/platform-browser": ["../../../dist/packages-dist/platform-browser"],
"ts-metadata-collector": ["dist/tools/metadata"]
"ts-metadata-collector": ["../../../dist/tools/ts-metadata-collector"]
},
"experimentalDecorators": true,
"rootDir": ".",

View File

@ -13,7 +13,8 @@
"paths": {
"selenium-webdriver": ["./@angular/typings/selenium-webdriver/selenium-webdriver.d.ts"],
"rxjs/*": ["../node_modules/rxjs/*"],
"@angular/*": ["./@angular/*"]
"@angular/*": ["./@angular/*"],
"ts-metadata-collector": ["../dist/tools/ts-metadata-collector"]
},
"rootDir": ".",
"inlineSourceMap": true,

View File

@ -5,7 +5,7 @@ import fse = require('fs-extra');
import path = require('path');
import * as ts from 'typescript';
import {wrapDiffingPlugin, DiffingBroccoliPlugin, DiffResult} from './diffing-broccoli-plugin';
import {MetadataCollector} from '../metadata';
import {MetadataCollector} from '../ts-metadata-collector';
type FileRegistry = ts.Map<{version: number}>;

View File

@ -95,8 +95,8 @@ if (platform == 'node') {
onChangeCmds: [
// TODO: fix and enable tests for public_api_spec again!
// ['node', 'dist/tools/cjs-jasmine/index-tools', '--',
// '{metadata,public_api_guard}/**/*{_,.}spec.js']
['node', 'dist/tools/cjs-jasmine/index-tools', '--', 'metadata/**/*{_,.}spec.js']
// '{ts-metadata-collector,public_api_guard}/**/*{_,.}spec.js']
['node', 'dist/tools/cjs-jasmine/index-tools', '--', 'ts-metadata-collector/**/*{_,.}spec.js']
]
});
}