diff --git a/repos/config/detail/BUILD.bazel b/repos/config/detail/BUILD.bazel index 4114a86..f9f633d 100644 --- a/repos/config/detail/BUILD.bazel +++ b/repos/config/detail/BUILD.bazel @@ -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"]) \ No newline at end of file