Compare commits
2 commits
af864c362f
...
44f5b8a6e1
Author | SHA1 | Date | |
---|---|---|---|
44f5b8a6e1 | |||
7a9e383b2d |
1 changed files with 8 additions and 0 deletions
8
build.sh
8
build.sh
|
@ -18,6 +18,14 @@ 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