chore(ngc): refactor out tsc-wrapped
This allows angular's build to depend on some extensions, but not on code generation, and breaks a cycle in the angular build We now merge ts-metadata-collector into tsc-wrapped and stop publishing the former.
This commit is contained in:
@@ -11,13 +11,7 @@ cd ../..
|
||||
|
||||
$(npm bin)/tsc -p ./tools/tsconfig.json
|
||||
|
||||
# TODO: Right now we have a cycle in that the compiler_cli depends on Angular
|
||||
# but we need it to compile Angular.
|
||||
# The solution right now is to do 2 compilation runs.
|
||||
# Fix this by separating the metadata extraction into a separate binary that does
|
||||
# not depend on Angular.
|
||||
$(npm bin)/tsc -p ./modules/tsconfig.json
|
||||
node dist/all/@angular/compiler_cli/src/main -p modules/tsconfig.json
|
||||
node dist/tools/tsc-wrapped/src/main -p modules/tsconfig.json
|
||||
|
||||
# Compile the compiler_cli integration tests
|
||||
node dist/all/@angular/compiler_cli/src/main -p modules/@angular/compiler_cli/integrationtest
|
||||
|
||||
Reference in New Issue
Block a user