Fix sanatize.

This commit is contained in:
Sleepy Monax 2022-07-22 00:32:45 +02:00
parent fc8a5b9735
commit c1ac3fc156
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ def runCmd(opts: dict, args: list[str]) -> None:
props = propsFromOptions(opts)
if len(args) == 0:
print(f"Usage: {args[0]} run <component>")
print(f"Usage: osdk run <component>")
sys.exit(1)
out = build.buildOne(opts.get('target', 'default'), args[0], props)

View file

@ -31,7 +31,7 @@ def enableCache(target: dict) -> dict:
def enableSan(target: dict) -> dict:
if (target["freestanding"]):
if (target["props"]["freestanding"]):
return target
target = copy.deepcopy(target)
@ -73,7 +73,7 @@ def available() -> list:
if file.endswith(".json")]
VARIANTS = ["debug", "devel", "release", "sanitize"]
VARIANTS = ["debug", "devel", "release", "sanatize"]
def load(targetId: str, props: dict) -> dict: