Compare commits

..

2 commits

Author SHA1 Message Date
44f5b8a6e1
Added Check for files in CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-10-06 12:17:18 +02:00
7a9e383b2d
Added Check for files in CI 2024-10-06 12:16:10 +02:00

View file

@ -18,6 +18,14 @@ echo "Compiled successfully!";
mkdir -vp $(dirname "$0")/compiled mkdir -vp $(dirname "$0")/compiled
mv -v *.dat $(dirname "$0")/compiled mv -v *.dat $(dirname "$0")/compiled
rm *.lno 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 mkdir dist
if [[ -n "${CI_COMMIT_TAG}" ]] if [[ -n "${CI_COMMIT_TAG}" ]]
then then