angular-docs-cn/integration/bazel-schematics
Keen Yee Liau 2afbcafab7 test(bazel): Use local_repository to load Angular (#28061)
The current integration test for Bazel schematics downloads a
published version of Angular as required by the http_archive
rule in the CLI created WORKSPACE.
However, this makes the test less useful because it does not
actually test any changes to the Angular repo at source.
This PR replaces the http_archive method in the WORSPACE
with local_repository so that any local changes to the Angular
repo are tested accordingly.

With Typescript 3.2, the file e2e/src/app.po.ts generated by CLI
no longer compiles under Bazel due to missing type annotations.
A temporary file is placed in the integration/bazel-schematics
directory while the change is pending in CLI repo.
https://github.com/angular/angular-cli/pull/13406

PR Close #28061
2019-01-11 16:19:59 -08:00
..
angular.json.original ci: make `integration_test` job logs less verbose (#27934) 2019-01-04 12:18:39 -08:00
app.e2e-spec.ts test(bazel): Make sure CLI project created with Bazel works with original workflow (#27741) 2018-12-19 18:24:25 -05:00
app.po.ts test(bazel): Use local_repository to load Angular (#28061) 2019-01-11 16:19:59 -08:00
index.html test(bazel): Make sure CLI project created with Bazel works with original workflow (#27741) 2018-12-19 18:24:25 -05:00
package.json test(bazel): Use local_repository to load Angular (#28061) 2019-01-11 16:19:59 -08:00
replace_angular_repo.js test(bazel): Use local_repository to load Angular (#28061) 2019-01-11 16:19:59 -08:00
test.sh test(bazel): Use local_repository to load Angular (#28061) 2019-01-11 16:19:59 -08:00
yarn.lock test(bazel): Use local_repository to load Angular (#28061) 2019-01-11 16:19:59 -08:00