make build/build have exit code 1 on failed build

This commit is contained in:
dzaima 2022-12-24 16:16:31 +02:00
parent c58ba6ee52
commit e2c21f6103

View File

@ -535,12 +535,14 @@ cachedBin‿linkerCache ← {
}
outPath •wdpath •file.At po.output
success Run cachedBin
{ 𝕊:
po.emcc?
SH "cp", AtRoot cachedBin, outPath •file.At •file.Name cachedBin
SH "cp", AtRoot linkerCache.File "BQN.wasm", outPath •file.At "BQN.wasm"
;
SH "cp", AtRoot cachedBin, outPath
} Run cachedBin
} success
OnExit@
•Exit ¬success