-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathBUILD.bazel
More file actions
38 lines (34 loc) · 901 Bytes
/
BUILD.bazel
File metadata and controls
38 lines (34 loc) · 901 Bytes
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
30
31
32
33
34
35
36
37
38
load("@rules_python//python/entry_points:py_console_script_binary.bzl", "py_console_script_binary")
load("@python_deps//:requirements.bzl", "requirement")
exports_files([
"archive_canister.wasm.gz",
"clippy.toml",
"rustfmt.toml",
"cordoned_features.yaml",
"WORKSPACE.bazel",
"mypy.ini",
"pyproject.toml",
])
alias(
name = "rustfmt",
actual = "@rules_rust//:rustfmt",
)
genrule(
name = "release-docs",
srcs = ["//release-controller:README.md"],
outs = ["docs/release.md"],
cmd = "cp $< $@",
)
py_console_script_binary(
name = "mkdocs",
pkg = "@python_deps//mkdocs",
data = [
"mkdocs.yml",
":release-docs",
] + glob(["docs/**/*"]),
deps = [
requirement("mkdocs-material"),
requirement("mkdocs-git-revision-date-localized-plugin"),
requirement("mkdocs-git-committers-plugin-2"),
],
)