android_of_theseus/theseus_autopatcher/build.sh
Jean-Marie Mineau a6a0740c61
WIP
2025-04-04 15:08:28 +02:00

11 lines
380 B
Bash

#!/usr/bin/bash
#rustup target add x86_64-unknown-linux-musl
#doas pacman -S musl
FOLDER=$(dirname "$(realpath $0)")
env --chdir "${FOLDER}/../patcher" cargo build --release --target=x86_64-unknown-linux-musl
cp "${FOLDER}/../patcher/target/x86_64-unknown-linux-musl/release/patcher" "${FOLDER}/src/theseus_autopatcher/patcher_86_64_musl"
env --chdir "${FOLDER}" poetry build