build: No longer need to bazel build twice

This commit is contained in:
Alex Eagle
2017-06-20 21:08:20 -07:00
committed by Matias Niemelä
parent 7395a64668
commit 08ecfd891d
2 changed files with 10 additions and 16 deletions

View File

@ -1,12 +1,11 @@
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",
commit = "804c5da",
name = "io_bazel_rules_typescript",
remote = "https://github.com/bazelbuild/rules_typescript.git",
commit = "3a8404d",
)
load("@io_bazel_rules_typescript//:defs.bzl", "node_repositories", "npm_install")
load("@io_bazel_rules_typescript//:defs.bzl", "node_repositories")
node_repositories()
npm_install(package_json = "//:package.json")
node_repositories(package_json = "//:package.json")