py_library( name = "lib", srcs = glob(["src/python/**/*.py"]), deps = [ py_requirement("click"), py_requirement("toposort"), py_requirement("toml"), ] ) zapp_binary( name = "cram", main = "src/python/cram/__main__.py", shebang = "/usr/bin/env python3", imports = [ "src/python" ], deps = [ ":lib", ], ) sh_test( name = "integration_test_cram", srcs = glob(["integration_test.sh"]), data = glob(["test/integration/**/*"]) + [":cram"], )