mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-06 14:57:27 +00:00
23 lines
453 B
Bash
Executable file
23 lines
453 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
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
|