mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
quit if build fails
This commit is contained in:
parent
ba0c40c2f5
commit
8ceae1884b
1 changed files with 3 additions and 1 deletions
|
@ -79,9 +79,11 @@ proc cache(c: OizysContext) =
|
|||
--print-build-logs \
|
||||
--accept-flake-config
|
||||
"""
|
||||
|
||||
let duration = (now() - start)
|
||||
if code != 0:
|
||||
error "faile to build configuration for: ", c.host
|
||||
error "failed to build configuration for: ", c.host
|
||||
quit code
|
||||
|
||||
if summaryFile != "":
|
||||
writeFile(
|
||||
|
|
Loading…
Reference in a new issue