rules_zapp/zapp/BUILD

37 lines
690 B
Python
Raw Normal View History

2021-08-09 15:26:06 +00:00
package(default_visibility = ["//visibility:public"])
load("zapp.bzl", "zapp_binary")
# Zapp plugins used as a runtime library by rules_zapp
py_library(
name = "zapp_support",
srcs = glob(["support/**/*.py"]),
imports = [
"..",
2021-08-09 15:26:06 +00:00
]
)
# Bootstrapping Zapp using py_binary
py_binary(
name = "zappc",
main = "compiler/__main__.py",
srcs = glob(["support/**/*.py"]) + [
"compiler/__main__.py"
],
imports = [
"..",
],
)
2021-08-09 15:26:06 +00:00
# For testing of zappc
zapp_binary(
name = "zappzappc",
main = "compiler/__main__.py",
srcs = glob(["support/**/*.py"]) + [
"compiler/__main__.py"
],
imports = [
"..",
],
2021-08-09 15:26:06 +00:00
)