make build/build have exit code 1 on failed build
This commit is contained in:
parent
c58ba6ee52
commit
e2c21f6103
@ -535,12 +535,14 @@ cachedBin‿linkerCache ← {
|
|||||||
}
|
}
|
||||||
|
|
||||||
outPath ← •wdpath •file.At po.output
|
outPath ← •wdpath •file.At po.output
|
||||||
|
success ← Run cachedBin
|
||||||
{ 𝕊:
|
{ 𝕊:
|
||||||
po.emcc?
|
po.emcc?
|
||||||
SH ⟨"cp", AtRoot cachedBin, outPath •file.At •file.Name cachedBin⟩
|
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 linkerCache.File "BQN.wasm", outPath •file.At "BQN.wasm"⟩
|
||||||
;
|
;
|
||||||
SH ⟨"cp", AtRoot cachedBin, outPath⟩
|
SH ⟨"cp", AtRoot cachedBin, outPath⟩
|
||||||
}⍟⊢ Run cachedBin
|
}⍟⊢ success
|
||||||
|
|
||||||
OnExit@
|
OnExit@
|
||||||
|
•Exit ¬success
|
||||||
Loading…
Reference in New Issue
Block a user