mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-06 14:57:27 +00:00
parent
4269606e35
commit
30e376c1e8
2 changed files with 20 additions and 0 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue