Obtain the dependencies needed to build the specified target.
(yaml_path: pathlib.Path, target: str)
| 96 | |
| 97 | |
| 98 | def target_needs(yaml_path: pathlib.Path, target: str): |
| 99 | """Obtain the dependencies needed to build the specified target.""" |
| 100 | settings = get_targets(yaml_path)[target] |
| 101 | |
| 102 | needs = set(settings["needs"]) |
| 103 | |
| 104 | # Ship libedit linked readline extension to avoid a GPL dependency. |
| 105 | needs.discard("readline") |
| 106 | |
| 107 | return needs |
| 108 | |
| 109 | |
| 110 | def release_tag_from_git(): |
no test coverage detected