mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
[MIRROR] Add dreamluau to the tgs precompile (#29234)
* Add dreamluau to the tgs precompile (#85624) There's no SO bundled we need to build it for campbell * Add dreamluau to the tgs precompile --------- Co-authored-by: oranges <email@oranges.net.nz>
This commit is contained in:
@@ -32,6 +32,27 @@ env PKG_CONFIG_ALLOW_CROSS=1 ~/.cargo/bin/cargo build --ignore-rust-version --re
|
||||
mv target/i686-unknown-linux-gnu/release/librust_g.so "$1/librust_g.so"
|
||||
cd ..
|
||||
|
||||
#
|
||||
cd "$original_dir"
|
||||
# update dreamluau
|
||||
if [ ! -d "dreamluau" ]; then
|
||||
echo "Cloning dreamluau..."
|
||||
git clone https://github.com/tgstation/dreamluau
|
||||
cd dreamluau
|
||||
~/.cargo/bin/rustup target add i686-unknown-linux-gnu
|
||||
else
|
||||
echo "Fetching dreamlaua..."
|
||||
cd dreamluau
|
||||
git fetch
|
||||
~/.cargo/bin/rustup target add i686-unknown-linux-gnu
|
||||
fi
|
||||
|
||||
echo "Deploying Dreamlaua..."
|
||||
git checkout "$DREAMLUAU_VERSION"
|
||||
env PKG_CONFIG_ALLOW_CROSS=1 ~/.cargo/bin/cargo build --ignore-rust-version --release --target=i686-unknown-linux-gnu
|
||||
mv target/i686-unknown-linux-gnu/release/libdreamluau.so "$1/libdreamluau.so"
|
||||
cd ..
|
||||
|
||||
# compile tgui
|
||||
echo "Compiling tgui..."
|
||||
cd "$1"
|
||||
|
||||
Reference in New Issue
Block a user