Fixed make_and_run script to work on Windows

This commit is contained in:
OmniaX 2023-11-30 15:47:29 +01:00
parent de6f7bae67
commit ac3858b36d

View file

@ -3,7 +3,11 @@
printf "\n============================================[ Building Application ]============================================\n\n"
rm -r ./res
\cp -r ../extra/* ./
if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
make
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
mingw32-make.exe
fi
if [ $? -eq 0 ]; then
printf "\n============================================[ Running Application ]============================================\n\n"
./framework-test