mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-26 01:11:54 +00:00
* Probably my magnum opus tbqh * Knew I'd forget something * guh * Oh we lint for that now. Man I am outta touch. * oogabooga * Build Rust library * library pls * Build Rust library * balls to it * off me * DOES THIS WORK NOW? * if this works I am done * this is a fucking violation * hopium * Build Rust library * Build Rust library * Fixes a major panic * Build Rust library * Sort macros out while I am at it --------- Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
20 lines
414 B
Bash
Executable File
20 lines
414 B
Bash
Executable File
#!/bin/bash
|
|
|
|
./InstallDeps.sh
|
|
|
|
set -e
|
|
set -x
|
|
|
|
#load dep exports
|
|
#need to switch to game dir for Dockerfile weirdness
|
|
original_dir=$PWD
|
|
cd "$1"
|
|
. dependencies.sh
|
|
cd "$original_dir"
|
|
|
|
echo "Deploying Rustlibs..."
|
|
cd $1/rust
|
|
env PKG_CONFIG_ALLOW_CROSS=1 ~/.cargo/bin/cargo build --release --features all --target=i686-unknown-linux-gnu
|
|
mv target/i686-unknown-linux-gnu/release/librustlibs.so "$1/librustlibs.so"
|
|
cd ..
|