2017-09-25 15:40:22 -04:00
|
|
|
workspace(name = "angular_src")
|
|
|
|
|
2017-06-02 12:43:52 -04:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
|
|
|
|
|
|
|
|
git_repository(
|
2017-08-22 19:56:29 -04:00
|
|
|
name = "build_bazel_rules_nodejs",
|
|
|
|
remote = "https://github.com/bazelbuild/rules_nodejs.git",
|
2017-12-06 09:56:49 -05:00
|
|
|
tag = "0.3.1",
|
2017-06-02 12:43:52 -04:00
|
|
|
)
|
|
|
|
|
2017-08-22 19:56:29 -04:00
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")
|
2017-06-02 12:43:52 -04:00
|
|
|
|
2017-08-22 19:56:29 -04:00
|
|
|
node_repositories(package_json = ["//:package.json"])
|
2017-07-21 17:11:35 -04:00
|
|
|
|
2017-12-06 09:56:49 -05:00
|
|
|
git_repository(
|
2017-08-22 19:56:29 -04:00
|
|
|
name = "build_bazel_rules_typescript",
|
2017-12-06 09:56:49 -05:00
|
|
|
remote = "https://github.com/bazelbuild/rules_typescript.git",
|
|
|
|
tag = "0.6.0",
|
2017-08-22 19:56:29 -04:00
|
|
|
)
|
|
|
|
|
2017-12-06 09:56:49 -05:00
|
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_repositories")
|
|
|
|
|
|
|
|
ts_repositories()
|
|
|
|
|
2017-08-22 19:56:29 -04:00
|
|
|
local_repository(
|
|
|
|
name = "angular",
|
|
|
|
path = "packages/bazel",
|
2017-10-13 12:03:28 -04:00
|
|
|
)
|
2017-12-06 09:56:49 -05:00
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "rxjs",
|
|
|
|
path = "node_modules/rxjs/src",
|
|
|
|
)
|
2017-12-07 22:17:13 -05:00
|
|
|
|
|
|
|
git_repository(
|
|
|
|
name = "com_github_bazelbuild_buildtools",
|
|
|
|
remote = "https://github.com/bazelbuild/buildtools.git",
|
|
|
|
# Note, this commit matches the version of buildifier in angular/ngcontainer
|
|
|
|
# If you change this, also check if it matches the version in the angular/ngcontainer
|
|
|
|
# version in /.circleci/config.yml
|
|
|
|
commit = "b3b620e8bcff18ed3378cd3f35ebeb7016d71f71",
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
|
|
|
url = "https://github.com/bazelbuild/rules_go/releases/download/0.7.1/rules_go-0.7.1.tar.gz",
|
|
|
|
sha256 = "341d5eacef704415386974bc82a1783a8b7ffbff2ab6ba02375e1ca20d9b031c",
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
|
|
|
|
|
|
|
go_rules_dependencies()
|
|
|
|
|
|
|
|
go_register_toolchains()
|