workspace(name = "bazel_integration_test") # # Download Bazel toolchain dependencies as needed by build actions # http_archive( name = "build_bazel_rules_nodejs", url = "https://github.com/bazelbuild/rules_nodejs/archive/0.9.1.zip", strip_prefix = "rules_nodejs-0.9.1", sha256 = "6139762b62b37c1fd171d7f22aa39566cb7dc2916f0f801d505a9aaf118c117f", ) http_archive( name = "io_bazel_rules_webtesting", url = "https://github.com/bazelbuild/rules_webtesting/archive/v0.2.0.zip", strip_prefix = "rules_webtesting-0.2.0", sha256 = "cecc12f07e95740750a40d38e8b14b76fefa1551bef9332cb432d564d693723c", ) http_archive( name = "build_bazel_rules_typescript", url = "https://github.com/bazelbuild/rules_typescript/archive/0.15.0.zip", strip_prefix = "rules_typescript-0.15.0", sha256 = "1aa75917330b820cb239b3c10a936a10f0a46fe215063d4492dd76dc6e1616f4", ) 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", url = "https://github.com/bazelbuild/rules_sass/archive/0.0.3.zip", strip_prefix = "rules_sass-0.0.3", sha256 = "8fa98e7b48a5837c286a1ea254b5a5c592fced819ee9fe4fdd759768d97be868", ) # # Load and install our dependencies downloaded above. # load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories") check_bazel_version("0.13.0") 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, ) load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace") ts_setup_workspace() load("@io_bazel_rules_sass//sass:sass.bzl", "sass_repositories") sass_repositories() # # 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", )