mirror of
https://github.com/tribufu/tribufu-rust
synced 2026-06-01 09:42:37 +00:00
Clear repository
This commit is contained in:
parent
7ea5da797a
commit
17388bbd9d
30 changed files with 8 additions and 802 deletions
27
Bootstrap.sh
27
Bootstrap.sh
|
|
@ -1,28 +1 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
echo "Installing dependencies..."
|
||||
|
||||
cargo install cbindgen
|
||||
|
||||
echo "Generating bindings..."
|
||||
|
||||
cbindgen --config ./Config/Bindings.toml --crate tribufu --output ./Source/Header.h
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue