Bring back build all when passing no components.
This commit is contained in:
parent
11d0667b83
commit
a4c5e2376b
|
@ -244,9 +244,9 @@ def buildCmd(args: cli.Args):
|
||||||
registry = model.Registry.use(args)
|
registry = model.Registry.use(args)
|
||||||
target = model.Target.use(args)
|
target = model.Target.use(args)
|
||||||
componentSpec = args.consumeArg()
|
componentSpec = args.consumeArg()
|
||||||
if componentSpec is None:
|
component = None
|
||||||
raise RuntimeError("No component specified")
|
if componentSpec is not None:
|
||||||
component = registry.lookup(componentSpec, model.Component)
|
component = registry.lookup(componentSpec, model.Component)
|
||||||
build(target, registry, component)[0]
|
build(target, registry, component)[0]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue