|
@@ -14,12 +14,12 @@ py_binary(
|
|
|
|
|
|
filegroup(
|
|
filegroup(
|
|
name = "data",
|
|
name = "data",
|
|
- srcs=glob(["quips/*", "quotes/*", "works/**/*", "works.json"]),
|
|
|
|
|
|
+ srcs=glob(["quips/*", "quotes/*", "works/**/*", "works.json"], exclude=["*~"]),
|
|
)
|
|
)
|
|
|
|
|
|
genrule(
|
|
genrule(
|
|
name = "out",
|
|
name = "out",
|
|
- srcs = [":data"] + glob(["templates/*.mustache", "static/*"], exclude=["*~"]),
|
|
|
|
|
|
+ srcs = [":data"] + glob(["templates/*.mustache", "static/*"]),
|
|
tools = [":main"],
|
|
tools = [":main"],
|
|
outs = ["output"],
|
|
outs = ["output"],
|
|
cmd = "$(location :main) $(location output) $(locations :data)",
|
|
cmd = "$(location :main) $(location output) $(locations :data)",
|