Current behaviour:
$ make RandomAddon
[make's output]
make: *** [install] Error 71
Exception: nil does not respond to 'build'
---------
nil build Project.io 35
Project buildAddon build.io 13
Expected behaviour:
$ make RandomAddon
[make's output]
No addon named 'RandomAddon' found!
Reason:
Project buildAddon doesn't check if the selected addon exists.
Proposed implementation:
Project buildAddon := method(name,
currentAddon := addons detect(addon, addon name == name)
if(currentAddon,
currentAddon build(options),
"No addon named '#{name}' found!" interpolate println
)
)