Revert "Update Bootstrap Scripts"

This reverts commit 717d3d00ef.
This commit is contained in:
GuilhermeWerner 2021-05-07 09:38:57 -03:00
parent 4269606e35
commit 30e376c1e8
2 changed files with 20 additions and 0 deletions

View file

@ -4,6 +4,9 @@
if ($IsWindows) if ($IsWindows)
{ {
echo "Generating Visual Studio project..."
& "./Vendor/Premake/Windows/premake5.exe" "vs2019"
} }
# Mac # Mac
@ -12,6 +15,11 @@ elseif ($IsMacOS)
{ {
sudo chmod +x ./gradlew sudo chmod +x ./gradlew
sudo chmod +x ./Scripts/Package.ps1 sudo chmod +x ./Scripts/Package.ps1
echo "Generating XCode project..."
sudo chmod +x ./Vendor/Premake/Mac/premake5
& "./Vendor/Premake/Mac/premake5" "xcode4"
} }
# Linux # Linux
@ -20,4 +28,9 @@ elseif ($IsLinux)
{ {
sudo chmod +x ./gradlew sudo chmod +x ./gradlew
sudo chmod +x ./Scripts/Package.ps1 sudo chmod +x ./Scripts/Package.ps1
echo "Generating GMake project..."
sudo chmod +x ./Vendor/Premake/Linux/premake5
& "./Vendor/Premake/Linux/premake5" "gmake2"
} }

View file

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