Skip to content

Commit

Permalink
No need to have separate vars for this.
Browse files Browse the repository at this point in the history
  • Loading branch information
DFINITYManu committed Jan 20, 2025
1 parent 28c5da9 commit a8e1f72
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions release-controller/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,10 @@ env = {
"BAZEL": "true",
}

reconciler_srcs = glob(["*.py"], exclude = ["tester.py", "commit_annotator.py", "ci_check.py"])
commit_annotator_srcs = glob(["*.py"], exclude = ["tester.py", "reconciler.py", "ci_check.py"])

py_binary(
name = "release-controller",
main = "reconciler.py",
srcs = reconciler_srcs,
srcs = glob(["*.py"], exclude = ["tester.py", "commit_annotator.py", "ci_check.py"]),
tags = ["typecheck"],
env = env,
deps = deps,
Expand All @@ -48,7 +45,7 @@ py_binary(
py_binary(
name = "commit_annotator",
main = "commit_annotator.py",
srcs = commit_annotator_srcs,
srcs = glob(["*.py"], exclude = ["tester.py", "reconciler.py", "ci_check.py"]),
data = [":bazelisk", ":target_determinator"],
env = env,
deps = deps,
Expand Down

0 comments on commit a8e1f72

Please sign in to comment.