2017-12-06 14:56:49 +00:00
|
|
|
workspace(name = "bazel_integration_test")
|
|
|
|
|
|
2018-05-29 22:35:48 +00:00
|
|
|
#
|
|
|
|
|
# Download Bazel toolchain dependencies as needed by build actions
|
|
|
|
|
#
|
2018-08-21 08:37:09 +00:00
|
|
|
local_repository(
|
2017-08-21 15:23:47 +00:00
|
|
|
name = "build_bazel_rules_typescript",
|
2018-08-21 08:37:09 +00:00
|
|
|
path = "node_modules/@bazel/typescript",
|
2018-05-29 22:35:48 +00:00
|
|
|
)
|
2018-08-14 21:07:22 +00:00
|
|
|
load("@build_bazel_rules_typescript//:package.bzl", "rules_typescript_dependencies")
|
|
|
|
|
rules_typescript_dependencies()
|
2018-05-29 22:35:48 +00:00
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
|
name = "io_bazel_rules_sass",
|
2018-08-14 21:07:22 +00:00
|
|
|
url = "https://github.com/bazelbuild/rules_sass/archive/1.11.0.zip",
|
|
|
|
|
strip_prefix = "rules_sass-1.11.0",
|
|
|
|
|
sha256 = "dbe9fb97d5a7833b2a733eebc78c9c1e3880f676ac8af16e58ccf2139cbcad03",
|
2018-05-29 22:35:48 +00:00
|
|
|
)
|
|
|
|
|
|
2018-06-25 18:22:23 +00:00
|
|
|
#
|
|
|
|
|
# Point Bazel to WORKSPACEs that live in subdirectories
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
|
name = "angular",
|
2018-08-21 08:37:09 +00:00
|
|
|
path = "../..",
|
2018-06-25 18:22:23 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
|
name = "rxjs",
|
|
|
|
|
path = "node_modules/rxjs/src",
|
|
|
|
|
)
|
|
|
|
|
|
2018-05-29 22:35:48 +00:00
|
|
|
#
|
|
|
|
|
# Load and install our dependencies downloaded above.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories")
|
|
|
|
|
|
2018-09-14 16:48:55 +00:00
|
|
|
check_bazel_version("0.17.0")
|
2018-09-05 19:38:53 +00:00
|
|
|
node_repositories(
|
|
|
|
|
package_json = ["//:package.json"],
|
2018-09-12 01:11:32 +00:00
|
|
|
node_version = "10.9.0",
|
|
|
|
|
yarn_version = "1.9.2",
|
2018-09-05 19:38:53 +00:00
|
|
|
)
|
2018-05-29 22:35:48 +00:00
|
|
|
|
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
|
|
|
|
|
|
|
|
|
go_rules_dependencies()
|
|
|
|
|
go_register_toolchains()
|
|
|
|
|
|
|
|
|
|
load("@io_bazel_rules_webtesting//web:repositories.bzl", "browser_repositories", "web_test_repositories")
|
|
|
|
|
|
|
|
|
|
web_test_repositories()
|
|
|
|
|
browser_repositories(
|
|
|
|
|
chromium = True,
|
|
|
|
|
firefox = True,
|
|
|
|
|
)
|
|
|
|
|
|
2018-01-17 22:49:08 +00:00
|
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")
|
2017-12-06 14:56:49 +00:00
|
|
|
|
2017-12-22 17:36:47 +00:00
|
|
|
ts_setup_workspace()
|
2017-12-06 14:56:49 +00:00
|
|
|
|
2018-06-04 17:45:27 +00:00
|
|
|
load("@io_bazel_rules_sass//sass:sass_repositories.bzl", "sass_repositories")
|
2018-05-29 22:35:48 +00:00
|
|
|
|
|
|
|
|
sass_repositories()
|
|
|
|
|
|
2018-05-11 06:35:21 +00:00
|
|
|
load("@angular//:index.bzl", "ng_setup_workspace")
|
|
|
|
|
|
|
|
|
|
ng_setup_workspace()
|