18 lines
353 B
Python
18 lines
353 B
Python
load("@rules_python//python:defs.bzl", "py_binary")
|
|
load("@py_deps//:requirements.bzl", "requirement")
|
|
|
|
py_binary(
|
|
name = "update",
|
|
srcs = ["update.py"],
|
|
data = [
|
|
"requirements.in",
|
|
"requirements.txt",
|
|
],
|
|
tags = ["manual"],
|
|
deps = [
|
|
requirement("pip-tools"),
|
|
],
|
|
)
|
|
|
|
exports_files(["requirements.txt"])
|