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

12
WORKSPACE Normal file
View File

@ -0,0 +1,12 @@
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "io_bazel_rules_typescript",
remote = "https://github.com/bazelbuild/rules_typescript.git",
tag = "0.0.3",
)
load("@io_bazel_rules_typescript//:defs.bzl", "node_repositories", "yarn_install")
node_repositories()
yarn_install(package_json = "//:package.json")