-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
67 lines (60 loc) · 1.35 KB
/
BUILD
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
66
67
load("@bazel_python//:bazel_python.bzl", "bazel_python_coverage_report", "bazel_python_interpreter")
bazel_python_interpreter(
name = "bazel_python_venv",
python_version = "3.7.4",
requirements_file = "requirements.txt",
run_after_pip = """
pushd ts_cpp
python3 setup.py install || exit 1
popd
""",
run_after_pip_srcs = glob(["ts_cpp/*"]),
visibility = ["//:__subpackages__"],
)
bazel_python_coverage_report(
name = "coverage_report",
code_paths = [
"*.py",
"runtime/*.py",
],
test_paths = [
"tests/*",
"runtime/tests/*",
"examples/*/test_*",
],
)
py_library(
name = "ts_lib",
srcs = ["ts_lib.py"],
visibility = ["//visibility:public"],
deps = [],
)
py_library(
name = "ts_utils",
srcs = ["ts_utils.py"],
visibility = ["//visibility:public"],
deps = [],
)
py_library(
name = "mapper",
srcs = ["mapper.py"],
visibility = ["//visibility:public"],
deps = [":ts_utils"],
)
py_library(
name = "tactic_utils",
srcs = ["tactic_utils.py"],
visibility = ["//visibility:public"],
deps = [
":ts_utils",
"//runtime:matcher",
],
)
py_library(
name = "analogy_utils",
srcs = ["analogy_utils.py"],
visibility = ["//visibility:public"],
deps = [
":tactic_utils",
],
)