From 30e376c1e8be977258c63393cb59228741cc523c Mon Sep 17 00:00:00 2001 From: GuilhermeWerner <26710260+GuilhermeWerner@users.noreply.github.com> Date: Fri, 7 May 2021 09:38:57 -0300 Subject: [PATCH] Revert "Update Bootstrap Scripts" This reverts commit 717d3d00efbb677c54c4323d678725a0c515838f. --- Bootstrap.ps1 | 13 +++++++++++++ Bootstrap.sh | 7 +++++++ 2 files changed, 20 insertions(+) diff --git a/Bootstrap.ps1 b/Bootstrap.ps1 index 4360b90..01beeb3 100755 --- a/Bootstrap.ps1 +++ b/Bootstrap.ps1 @@ -4,6 +4,9 @@ if ($IsWindows) { + echo "Generating Visual Studio project..." + + & "./Vendor/Premake/Windows/premake5.exe" "vs2019" } # Mac @@ -12,6 +15,11 @@ elseif ($IsMacOS) { sudo chmod +x ./gradlew sudo chmod +x ./Scripts/Package.ps1 + + echo "Generating XCode project..." + + sudo chmod +x ./Vendor/Premake/Mac/premake5 + & "./Vendor/Premake/Mac/premake5" "xcode4" } # Linux @@ -20,4 +28,9 @@ elseif ($IsLinux) { sudo chmod +x ./gradlew sudo chmod +x ./Scripts/Package.ps1 + + echo "Generating GMake project..." + + sudo chmod +x ./Vendor/Premake/Linux/premake5 + & "./Vendor/Premake/Linux/premake5" "gmake2" } diff --git a/Bootstrap.sh b/Bootstrap.sh index e5a5567..b54172e 100755 --- a/Bootstrap.sh +++ b/Bootstrap.sh @@ -7,10 +7,17 @@ sudo chmod +x ./Scripts/Package.ps1 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