You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@click.option("-p", "--platform", multiple=True, type=click.Choice(["linux64", "osx64", "win64"], case_sensitive=False), help="Target platform for the bundle")
53
+
@click.option("-c", "--code-scanning-config", type=click.Path(exists=True, path_type=Path), help="Path to a Code Scanning configuration file that will be the default for the bundle")
53
54
@click.argument("packs", nargs=-1, required=True)
54
55
defmain(
55
56
bundle_path: Path,
56
57
output: Path,
57
58
workspace: Path,
58
59
loglevel: str,
59
60
platform: List[str],
61
+
code_scanning_config: Optional[Path],
60
62
packs: List[str],
61
63
) ->None:
62
64
@@ -119,6 +121,9 @@ def main(
119
121
f"Adding the pack(s) {','.join(map(lambdap: p.config.name, selected_packs))} and its workspace dependencies to the custom bundle."
120
122
)
121
123
bundle.add_packs(*selected_packs)
124
+
ifcode_scanning_config:
125
+
logger.info(f"Adding the Code Scanning configuration file {code_scanning_config} to the custom bundle.")
0 commit comments