forked from dfinity/dre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
41 lines (36 loc) · 947 Bytes
/
BUILD.bazel
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
39
40
41
load("@python_deps//:requirements.bzl", "requirement")
exports_files([
"archive_canister.wasm.gz",
"clippy.toml",
"rustfmt.toml",
"WORKSPACE.bazel",
])
alias(
name = "rustfmt",
actual = "@rules_rust//:rustfmt",
)
alias(
name = "poetry",
actual = "@python_deps_poetry//:rules_python_wheel_entry_point_poetry",
tags = ["no-cache"],
)
genrule(
name = "release-docs",
srcs = ["//release-controller:README.md"],
outs = ["docs/release.md"],
cmd = "cp $< $@",
)
py_binary(
name = "mkdocs",
srcs = ["@python_deps_mkdocs//:rules_python_wheel_entry_point_mkdocs"],
data = [
"mkdocs.yml",
":release-docs",
] + glob(["docs/**/*"]),
main = "rules_python_wheel_entry_point_mkdocs.py",
deps = [
requirement("mkdocs-material"),
requirement("mkdocs-git-revision-date-localized-plugin"),
requirement("mkdocs-git-committers-plugin-2"),
],
)