libremesh / lime-sdk

LibreMesh software development kit
http://libremesh.org/
GNU General Public License v3.0
50 stars 36 forks source link

Adds exit code for cooking. #15

Closed nicopace closed 7 years ago

nicopace commented 7 years ago

Solves #13

nicopace commented 7 years ago

Tested in my computer and returns 0 for successful builds. Any idea how to make a build fail?

ilario commented 7 years ago

This is a good solution but works just when cooking, right? If other functions of the software are called, the exit code will be always 0 even if they fail?

p4u commented 7 years ago

Ilario is right, if the code returns 1 when cooking fails, at least the build_sdk function should also return 1 in case of fail (for consistency).

However it might be implemented later on.

ilario commented 7 years ago

I filed an issue for tracking the implementation of exit codes for the other functions in cooker: #16.