Skip to content

Commit

Permalink
[17] Add support for parsing patches for http_archives in repos_index…
Browse files Browse the repository at this point in the history
… file
  • Loading branch information
michael-sbarra-apexai committed Oct 21, 2024
1 parent b9e6eee commit 54538d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions repos/config/detail/generate_ros2_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def build_http_archive_load_command(repo, spec):
sha256 = "{spec['hash']}",
strip_prefix = "{spec['strip_prefix']}",
repo_rule = http_archive,
patches = [{''.join(f'\n "{i}",' for i in spec.get('patches', []))}
],
patch_args = [{''.join(f'\n "{i}",' for i in spec.get('patch_args', []))}
],
)
"""

Expand Down

0 comments on commit 54538d8

Please sign in to comment.