Skip to content

Commit

Permalink
feat(examples): add serve to angular architect
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Wiles authored and alexeagle committed Feb 12, 2020
1 parent 2002046 commit 1569f4b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions examples/angular_bazel_architect/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,36 @@ architect_test(
],
)

architect(
name = "serve",
args = [
"frontend:serve",
],
configuration_env_vars = ["NG_BUILD_CACHE"],
data = glob(
[
"src/*",
"src/**",
],
exclude = [
"src/**/*.spec.ts",
"src/test.ts",
],
) + [
"angular.json",
"browserslist",
"tsconfig.app.json",
"tsconfig.json",
"@npm//mime",
"@npm//@angular/cli",
"@npm//@angular/core",
"@npm//@angular/router",
"@npm//@angular/platform-browser-dynamic",
"@npm//@angular-devkit/build-angular",
],
tags = ["ibazel_notify_changes"],
)

# Just a dummy test so that we have a test target for //... on certain bazelci platforms with bazel_integration_test
sh_test(
name = "dummy_test",
Expand Down

0 comments on commit 1569f4b

Please sign in to comment.