Exit build shell script on first subcommand failed

sh -e will cause the shell to exit immediately if a command exits with a
nonzero exit value.
This commit is contained in:
Andrey Cherepanov 2021-08-07 16:51:29 +03:00
parent 03f4fcba73
commit 85d7ed6bd9

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh -e
MONO_IOMAP=case msbuild /p:Configuration=release pabcnetc.sln
MONO_IOMAP=case msbuild /p:Configuration=release CodeCompletion/CodeCompletion.csproj
mono --aot bin/pabcnetc.exe