2017-12-06 09:56:49 -05:00
|
|
|
workspace(name = "bazel_integration_test")
|
|
|
|
|
2018-05-29 18:35:48 -04:00
|
|
|
#
|
|
|
|
# Download Bazel toolchain dependencies as needed by build actions
|
|
|
|
#
|
|
|
|
|
2018-02-09 13:22:00 -05:00
|
|
|
http_archive(
|
2017-08-22 19:56:29 -04:00
|
|
|
name = "build_bazel_rules_nodejs",
|
2018-08-05 20:17:49 -04:00
|
|
|
urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.11.4.zip"],
|
|
|
|
strip_prefix = "rules_nodejs-0.11.4",
|
|
|
|
sha256 = "c31c4ead696944a50fad2b3ee9dfbbeffe31a8dcca0b21b9bf5b3e6c6b069801",
|
2018-07-27 14:32:51 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "bazel_skylib",
|
|
|
|
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/0.3.1.zip"],
|
|
|
|
strip_prefix = "bazel-skylib-0.3.1",
|
|
|
|
sha256 = "95518adafc9a2b656667bbf517a952e54ce7f350779d0dd95133db4eb5c27fb1",
|
2017-08-22 19:56:29 -04:00
|
|
|
)
|
|
|
|
|
2018-05-30 21:15:38 -04:00
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_webtesting",
|
2018-08-10 16:27:09 -04:00
|
|
|
url = "https://github.com/bazelbuild/rules_webtesting/archive/0.2.1.zip",
|
|
|
|
strip_prefix = "rules_webtesting-0.2.1",
|
|
|
|
sha256 = "7d490aadff9b5262e5251fa69427ab2ffd1548422467cb9f9e1d110e2c36f0fa",
|
2018-05-30 21:15:38 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
2017-08-21 11:23:47 -04:00
|
|
|
name = "build_bazel_rules_typescript",
|
2018-08-10 16:27:09 -04:00
|
|
|
url = "https://github.com/bazelbuild/rules_typescript/archive/0.16.0.zip",
|
|
|
|
strip_prefix = "rules_typescript-0.16.0",
|
|
|
|
sha256 = "e65c5639a42e2f6d3f9d2bda62487d6b42734830dda45be1620c3e2b1115070c",
|
2017-08-21 11:23:47 -04:00
|
|
|
)
|
|
|
|
|
2018-05-29 18:35:48 -04:00
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
|
|
|
url = "https://github.com/bazelbuild/rules_go/releases/download/0.11.0/rules_go-0.11.0.tar.gz",
|
|
|
|
sha256 = "f70c35a8c779bb92f7521ecb5a1c6604e9c3edd431e50b6376d7497abc8ad3c1",
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_sass",
|
2018-06-04 13:45:27 -04:00
|
|
|
url = "https://github.com/bazelbuild/rules_sass/archive/0.1.0.zip",
|
|
|
|
strip_prefix = "rules_sass-0.1.0",
|
|
|
|
sha256 = "b243c4d64f054c174051785862ab079050d90b37a1cef7da93821c6981cb9ad4",
|
2018-05-29 18:35:48 -04:00
|
|
|
)
|
|
|
|
|
2018-06-25 14:22:23 -04:00
|
|
|
#
|
|
|
|
# Point Bazel to WORKSPACEs that live in subdirectories
|
|
|
|
#
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "angular",
|
|
|
|
path = "node_modules/@angular/bazel",
|
|
|
|
)
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "rxjs",
|
|
|
|
path = "node_modules/rxjs/src",
|
|
|
|
)
|
|
|
|
|
2018-05-29 18:35:48 -04:00
|
|
|
#
|
|
|
|
# Load and install our dependencies downloaded above.
|
|
|
|
#
|
|
|
|
|
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories")
|
|
|
|
|
2018-08-08 13:47:26 -04:00
|
|
|
check_bazel_version("0.15.0")
|
2018-05-29 18:35:48 -04:00
|
|
|
node_repositories(package_json = ["//:package.json"])
|
|
|
|
|
|
|
|
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 17:49:08 -05:00
|
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")
|
2017-12-06 09:56:49 -05:00
|
|
|
|
2017-12-22 12:36:47 -05:00
|
|
|
ts_setup_workspace()
|
2017-12-06 09:56:49 -05:00
|
|
|
|
2018-06-04 13:45:27 -04:00
|
|
|
load("@io_bazel_rules_sass//sass:sass_repositories.bzl", "sass_repositories")
|
2018-05-29 18:35:48 -04:00
|
|
|
|
|
|
|
sass_repositories()
|
|
|
|
|
2018-05-11 02:35:21 -04:00
|
|
|
load("@angular//:index.bzl", "ng_setup_workspace")
|
|
|
|
|
|
|
|
ng_setup_workspace()
|