Fix sanatize.
This commit is contained in:
parent
fc8a5b9735
commit
c1ac3fc156
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ def runCmd(opts: dict, args: list[str]) -> None:
|
||||||
props = propsFromOptions(opts)
|
props = propsFromOptions(opts)
|
||||||
|
|
||||||
if len(args) == 0:
|
if len(args) == 0:
|
||||||
print(f"Usage: {args[0]} run <component>")
|
print(f"Usage: osdk run <component>")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
out = build.buildOne(opts.get('target', 'default'), args[0], props)
|
out = build.buildOne(opts.get('target', 'default'), args[0], props)
|
||||||
|
|
|
@ -31,7 +31,7 @@ def enableCache(target: dict) -> dict:
|
||||||
|
|
||||||
|
|
||||||
def enableSan(target: dict) -> dict:
|
def enableSan(target: dict) -> dict:
|
||||||
if (target["freestanding"]):
|
if (target["props"]["freestanding"]):
|
||||||
return target
|
return target
|
||||||
|
|
||||||
target = copy.deepcopy(target)
|
target = copy.deepcopy(target)
|
||||||
|
@ -73,7 +73,7 @@ def available() -> list:
|
||||||
if file.endswith(".json")]
|
if file.endswith(".json")]
|
||||||
|
|
||||||
|
|
||||||
VARIANTS = ["debug", "devel", "release", "sanitize"]
|
VARIANTS = ["debug", "devel", "release", "sanatize"]
|
||||||
|
|
||||||
|
|
||||||
def load(targetId: str, props: dict) -> dict:
|
def load(targetId: str, props: dict) -> dict:
|
||||||
|
|
Loading…
Add table
Reference in a new issue