28 lines
822 B
Python
28 lines
822 B
Python
# 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
|
|
name = "aspect_bazel_lib",
|
|
)
|
|
|
|
load(":internal_deps.bzl", "bazel_lib_internal_deps")
|
|
|
|
# Fetch deps needed only locally for development
|
|
bazel_lib_internal_deps()
|
|
|
|
# For running our own unit tests
|
|
load("@bazel_skylib//lib:unittest.bzl", "register_unittest_toolchains")
|
|
|
|
register_unittest_toolchains()
|
|
|
|
############################################
|
|
# 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()
|