Skip to content

Commit

Permalink
Remove duplicate py_binary target
Browse files Browse the repository at this point in the history
  • Loading branch information
revati-naik-apex committed Feb 13, 2025
1 parent 41bb8e9 commit e881cd7
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions repos/config/detail/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load("@python_deps//:requirements.bzl", "requirement")
load("@ros2_config//:repos_index_file.bzl", "REPOS_INDEX_FILE")
load("@ros2_config//:repos_overlay_files.bzl", "REPOS_OVERLAY_FILES")
load("@ros2_config//:repos_setup_file.bzl", "REPOS_SETUP_FILE")
load("@rules_python//python:defs.bzl", "py_binary")

py_binary(
name = "repos_lock.update",
srcs = [
"generate_ros2_config.py",
"lock_repos.py",
],
args = [
"$(execpath {})".format(REPOS_INDEX_FILE),
"$(execpath {})".format(REPOS_SETUP_FILE),
] + ["$(execpath {})".format(f) for f in REPOS_OVERLAY_FILES],
data = [
REPOS_INDEX_FILE,
REPOS_SETUP_FILE,
] + REPOS_OVERLAY_FILES,
main = "lock_repos.py",
visibility = ["//visibility:public"],
deps = [requirement("pyyaml")],
)

sh_test(
name = "test_repos_index_sha256",
srcs = ["test/test_repos_index_sha256.sh"],
args = [
"$(execpath {})".format(REPOS_INDEX_FILE),
"$(execpath {})".format(REPOS_SETUP_FILE),
],
data = [
REPOS_INDEX_FILE,
REPOS_SETUP_FILE,
],
)

exports_files(["generate_ros2_config.py", "lock_repos.py"])

0 comments on commit e881cd7

Please sign in to comment.