Skip to content

Commit

Permalink
Bring back build all when passing no components.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Nov 28, 2023
1 parent a76f492 commit f3e7727
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cutekit/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ def buildCmd(args: cli.Args):
registry = model.Registry.use(args)
target = model.Target.use(args)
componentSpec = args.consumeArg()
if componentSpec is None:
raise RuntimeError("No component specified")
component = registry.lookup(componentSpec, model.Component)
component = None
if componentSpec is not None:
component = registry.lookup(componentSpec, model.Component)
build(target, registry, component)[0]


Expand Down

0 comments on commit f3e7727

Please sign in to comment.