-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathBUILD
More file actions
65 lines (57 loc) · 1.45 KB
/
BUILD
File metadata and controls
65 lines (57 loc) · 1.45 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
# trlc.py is exposed for the test rule in trlc.bzl;
# pyproject.toml is needed by pylint/ty via rules_lint.
exports_files(
[
"trlc.py",
"pyproject.toml",
],
visibility = ["//visibility:public"],
)
py_binary(
name = "trlc_binary",
srcs = [
"trlc.py",
],
args = ["--use-cvc5-binary $(location //:cvc5)"],
data = ["//:cvc5"],
main = "trlc.py",
visibility = ["//visibility:public"],
deps = [
"//trlc",
],
)
alias(
name = "cvc5",
actual = select({
"@bazel_tools//src/conditions:windows": "@cvc5_windows//:cvc5",
"@bazel_tools//src/conditions:darwin": "@cvc5_mac//:cvc5",
"//conditions:default": "@cvc5_linux//:cvc5",
}),
visibility = ["//visibility:public"],
)
# Run: bazel run //:requirements.update
compile_pip_requirements(
name = "requirements",
src = "requirements.txt",
requirements_txt = "requirements_lock.txt",
)
# Run: bazel run //:requirements_dev.update
compile_pip_requirements(
name = "requirements_dev",
src = "requirements_dev.txt",
requirements_txt = "requirements_dev_lock.txt",
)
alias(
name = "format.check",
actual = "//third_party/format:format.check",
)
alias(
name = "format.fix",
actual = "//third_party/format:format",
)
filegroup(
name = "coverage",
srcs = ["coverage.cfg"],
visibility = ["//visibility:public"],
)