2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-27 17:43:27 +00:00
bazel-lib/WORKSPACE

44 lines
1.1 KiB
Python
Raw Normal View History

2021-11-08 14:20:26 +00:00
# Declare the local Bazel workspace.
# This is *not* included in the published distribution.
workspace(
# see https://docs.bazel.build/versions/main/skylark/deploying.html#workspace
2021-11-08 14:40:36 +00:00
name = "aspect_bazel_lib",
2021-11-08 14:20:26 +00:00
)
2021-11-08 14:40:36 +00:00
load(":internal_deps.bzl", "bazel_lib_internal_deps")
2021-11-08 14:20:26 +00:00
# Fetch deps needed only locally for development
2021-11-08 14:40:36 +00:00
bazel_lib_internal_deps()
2021-11-08 14:20:26 +00:00
2021-12-09 00:47:45 +00:00
load("//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
2021-11-08 15:22:47 +00:00
# For running our own unit tests
load("@bazel_skylib//lib:unittest.bzl", "register_unittest_toolchains")
register_unittest_toolchains()
# An external repository for test to use
local_repository(
name = "external_test_repo",
path = "./lib/tests/external_test_repo",
)
# Avoid descending into the e2e workspaces
local_repository(
name = "e2e_bzlmod",
path = "./e2e/bzlmod",
)
2021-11-08 14:20:26 +00:00
############################################
# Gazelle, for generating bzl_library targets
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.17.2")
gazelle_dependencies()