source/projects/zapp/BUILD
Reid D McKenzie 37266cdcd9 Initial zapp state (#1)
This commit implements zapp! and rules_zapp, as a proof of concept of
lighter-weight easily hacked on self-extracting zipapps. Think Pex or
Shiv but with less behavior and more user control. Or at least
hackability.
2021-08-08 00:16:37 -06:00

32 lines
595 B
Python

package(default_visibility = ["//visibility:public"])
load("zapp.bzl",
"zapp_binary",
)
# Bootstrapping Zapp using py_binary
py_binary(
name = "zappc",
main = "src/python/zapp/compiler/__main__.py",
imports = [
"src/python",
],
)
# Zapp plugins used as a runtime library by rules_zapp
py_library(
name = "zapp_support",
srcs = glob(["src/python/zapp/support/**/*.py"]),
imports = [
"src/python",
],
)
# Zapped zapp
zapp_binary(
name = "zapzap",
main = "src/python/zapp/__main__.py",
imports = [
"src/python",
],
)