fix: upgrade cutekit to 0.9
This commit is contained in:
parent
01773cb062
commit
0600245c83
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
from cutekit import cli, model, shell, builder
|
from cutekit import cli, model, shell, builder
|
||||||
|
|
||||||
@cli.command(None, "boot", "Boot the kernel inside of Qemu")
|
@cli.command("boot", "Boot the kernel inside of Qemu")
|
||||||
def _(args: model.RegistryArgs):
|
def _(args: model.RegistryArgs):
|
||||||
registry = model.Registry.use(args)
|
registry = model.Registry.use(args)
|
||||||
|
|
||||||
|
|
|
@ -22,12 +22,11 @@ def build(
|
||||||
scope: builder.TargetScope,
|
scope: builder.TargetScope,
|
||||||
components: Union[list[model.Component], model.Component, Literal["all"]] = "all",
|
components: Union[list[model.Component], model.Component, Literal["all"]] = "all",
|
||||||
generateCompilationDb: bool = False,
|
generateCompilationDb: bool = False,
|
||||||
noParallel: bool = False,
|
|
||||||
) -> list[builder.ProductScope]:
|
) -> list[builder.ProductScope]:
|
||||||
for k, v in _hooks.items():
|
for k, v in _hooks.items():
|
||||||
print(f"Running hook '{k}'")
|
print(f"Running hook '{k}'")
|
||||||
v(scope)
|
v(scope)
|
||||||
return _original_build(scope, components, generateCompilationDb, noParallel)
|
return _original_build(scope, components, generateCompilationDb)
|
||||||
|
|
||||||
|
|
||||||
builder.build = build
|
builder.build = build
|
||||||
|
|
Loading…
Add table
Reference in a new issue