build: Introduce Bazel build rules

So far this just compiles the core and common packages.
This commit is contained in:
Alex Eagle
2017-06-02 09:43:52 -07:00
committed by Alex Rickabaugh
parent 02d74cafba
commit 5faf520067
12 changed files with 115 additions and 32 deletions

13
packages/common/BUILD Normal file
View File

@ -0,0 +1,13 @@
package(default_visibility=["//visibility:public"])
load("@io_bazel_rules_typescript//:defs.bzl", "ts_library")
ts_library(
name = "common",
srcs = glob(["**/*.ts"], exclude=[
"test/**",
"testing/**",
]),
module_name = "@angular/common",
deps = ["//packages/core"],
tsconfig = ":tsconfig-build.json",
)