Update Bootstrap Scripts

This commit is contained in:
GuilhermeWerner 2021-05-05 10:28:44 -03:00
parent c38240d5cd
commit 373031534e
2 changed files with 46 additions and 1 deletions

View file

@ -2,3 +2,22 @@
sudo chmod +x ./gradlew
sudo chmod +x ./Scripts/Package.ps1
# Linux
if [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]
then
echo "Generating GMake project..."
sudo chmod +x ./Vendor/Premake/Linux/premake5
./Vendor/Premake/Linux/premake5 gmake2
# Mac
elif [ "$(uname)" = "Darwin" ]
then
echo "Generating XCode project..."
sudo chmod +x ./Vendor/Premake/Mac/premake5
./Vendor/Premake/Mac/premake5 xcode4
fi