blob: 2e700a22bc811b12c61e23dde60058dd99fdbc9e (
plain)
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
|
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
package(default_visibility = ["//visibility:public"])
# This rule adds a convenient way to update the requirements file.
compile_pip_requirements(
name = "requirements",
src = "requirements.txt",
requirements_txt = "requirements_lock.txt",
)
py_binary(
name = "interface_generator",
srcs = ["interface_generator.py"],
args = ["-l", "$(location LICENSE.md)"],
data = glob(["templates/*"]) + ["LICENSE.md"],
deps = [
"@pip//mako",
],
)
alias(
name = "smokeTest",
actual = ":interface_generator",
)
|