-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathWORKSPACE
29 lines (21 loc) · 1.04 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
workspace(name = "io_bazel_rules_prometheus")
# all dependencies are called from there
load("@//:deps.bzl", "rules_prometheus_repositories", "rules_prometheus_toolchains")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_stardoc",
sha256 = "c9794dcc8026a30ff67cf7cf91ebe245ca294b20b071845d12c192afe243ad72",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.0/stardoc-0.5.0.tar.gz",
"https://github.com/bazelbuild/stardoc/releases/download/0.5.0/stardoc-0.5.0.tar.gz",
],
)
# this downloads dependencies required for prometheus to work
rules_prometheus_repositories()
# this downloads prometheus blobs and registers toolchain
rules_prometheus_toolchains()
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
stardoc_repositories()
# https://docs.bazel.build/versions/main/workspace-log.html skylib import fails somewhere, should debug
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()