Fixed make_and_run script to work on Windows
This commit is contained in:
parent
de6f7bae67
commit
ac3858b36d
1 changed files with 5 additions and 1 deletions
|
|
@ -3,7 +3,11 @@
|
||||||
printf "\n============================================[ Building Application ]============================================\n\n"
|
printf "\n============================================[ Building Application ]============================================\n\n"
|
||||||
rm -r ./res
|
rm -r ./res
|
||||||
\cp -r ../extra/* ./
|
\cp -r ../extra/* ./
|
||||||
make
|
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
|
if [ $? -eq 0 ]; then
|
||||||
printf "\n============================================[ Running Application ]============================================\n\n"
|
printf "\n============================================[ Running Application ]============================================\n\n"
|
||||||
./framework-test
|
./framework-test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue