This commit is contained in:
parent
af864c362f
commit
c5ca705e78
1 changed files with 7 additions and 0 deletions
7
build.sh
7
build.sh
|
@ -18,6 +18,13 @@ echo "Compiled successfully!";
|
|||
mkdir -vp $(dirname "$0")/compiled
|
||||
mv -v *.dat $(dirname "$0")/compiled
|
||||
rm *.lno
|
||||
|
||||
# Check if build is successful
|
||||
if [ ! -f "compiled/csprogs.dat" ] || [ ! -f "compiled/progs.dat" ] || [ ! -f "compiled/menu.dat" ]; then
|
||||
echo "Build was not successful. Please check for compiler errors."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir dist
|
||||
if [[ -n "${CI_COMMIT_TAG}" ]]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue