2017-10-10 14:59:31 +00:00
|
|
|
workspace(name = "bazel_skylib")
|
2018-12-04 15:14:08 +00:00
|
|
|
|
2019-08-13 19:28:45 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
2019-10-02 15:15:53 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
|
|
|
|
|
2020-07-24 10:26:13 +00:00
|
|
|
http_archive(
|
|
|
|
name = "rules_pkg",
|
|
|
|
urls = [
|
|
|
|
"https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
|
|
|
|
],
|
|
|
|
sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a",
|
|
|
|
)
|
|
|
|
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
|
|
|
|
rules_pkg_dependencies()
|
|
|
|
|
2019-10-02 15:15:53 +00:00
|
|
|
maybe(
|
2019-08-13 19:28:45 +00:00
|
|
|
name = "bazel_federation",
|
2020-02-18 18:17:37 +00:00
|
|
|
repo_rule = http_archive,
|
2019-10-07 21:48:55 +00:00
|
|
|
sha256 = "506dfbfd74ade486ac077113f48d16835fdf6e343e1d4741552b450cfc2efb53",
|
2020-02-18 18:17:37 +00:00
|
|
|
url = "https://github.com/bazelbuild/bazel-federation/releases/download/0.0.1/bazel_federation-0.0.1.tar.gz",
|
2019-08-13 19:28:45 +00:00
|
|
|
)
|
|
|
|
|
2020-06-26 15:04:12 +00:00
|
|
|
load("@bazel_federation//:repositories.bzl", "bazel_skylib_deps", "rules_go")
|
2019-08-13 19:28:45 +00:00
|
|
|
|
|
|
|
bazel_skylib_deps()
|
2018-12-04 15:14:08 +00:00
|
|
|
|
2020-06-26 15:04:12 +00:00
|
|
|
rules_go()
|
|
|
|
|
2019-08-13 19:28:45 +00:00
|
|
|
load("@bazel_federation//setup:bazel_skylib.bzl", "bazel_skylib_setup")
|
|
|
|
|
|
|
|
bazel_skylib_setup()
|
2019-02-28 22:43:57 +00:00
|
|
|
|
2020-06-26 15:04:12 +00:00
|
|
|
load("@bazel_federation//setup:rules_go.bzl", "rules_go_setup")
|
|
|
|
|
|
|
|
rules_go_setup()
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
# Below this line is for documentation generation only,
|
|
|
|
# and should thus not be included by dependencies on
|
|
|
|
# bazel-skylib.
|
|
|
|
|
2019-08-13 19:28:45 +00:00
|
|
|
load("//:internal_deps.bzl", "bazel_skylib_internal_deps")
|
2019-03-07 22:22:04 +00:00
|
|
|
|
2019-08-13 19:28:45 +00:00
|
|
|
bazel_skylib_internal_deps()
|
2019-03-07 22:22:04 +00:00
|
|
|
|
2019-08-13 19:28:45 +00:00
|
|
|
load("//:internal_setup.bzl", "bazel_skylib_internal_setup")
|
2019-03-07 22:22:04 +00:00
|
|
|
|
2019-08-13 19:28:45 +00:00
|
|
|
bazel_skylib_internal_setup()
|
2019-09-17 12:03:22 +00:00
|
|
|
|
2019-10-02 15:15:53 +00:00
|
|
|
maybe(
|
2019-09-17 12:03:22 +00:00
|
|
|
name = "rules_cc",
|
2020-02-18 18:17:37 +00:00
|
|
|
repo_rule = http_archive,
|
2019-09-17 12:03:22 +00:00
|
|
|
sha256 = "b4b2a2078bdb7b8328d843e8de07d7c13c80e6c89e86a09d6c4b424cfd1aaa19",
|
|
|
|
strip_prefix = "rules_cc-cb2dfba6746bfa3c3705185981f3109f0ae1b893",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/cb2dfba6746bfa3c3705185981f3109f0ae1b893.zip",
|
|
|
|
"https://github.com/bazelbuild/rules_cc/archive/cb2dfba6746bfa3c3705185981f3109f0ae1b893.zip",
|
|
|
|
],
|
|
|
|
)
|
2020-06-26 15:04:12 +00:00
|
|
|
|
|
|
|
# Provide a repository hint for Gazelle to inform it that the go package
|
|
|
|
# github.com/bazelbuild/rules_go is available from io_bazel_rules_go and it
|
|
|
|
# doesn't need to duplicatively fetch it.
|
|
|
|
# gazelle:repository go_repository name=io_bazel_rules_go importpath=github.com/bazelbuild/rules_go
|
|
|
|
http_archive(
|
|
|
|
name = "bazel_gazelle",
|
|
|
|
sha256 = "bfd86b3cbe855d6c16c6fce60d76bd51f5c8dbc9cfcaef7a2bb5c1aafd0710e8",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.0/bazel-gazelle-v0.21.0.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.0/bazel-gazelle-v0.21.0.tar.gz",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
# Another Gazelle repository hint.
|
|
|
|
# gazelle:repository go_repository name=bazel_gazelle importpath=github.com/bazelbuild/bazel-gazelle/testtools
|
|
|
|
|
|
|
|
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
|
|
|
|
|
|
|
|
gazelle_dependencies()
|