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