android_of_theseus/theseus_autopatcher/build.sh
Jean-Marie Mineau e6aafccf33
wip
2025-04-07 15:40:51 +02:00

11 lines
402 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 --profile minsizerelease --target=x86_64-unknown-linux-musl
cp "${FOLDER}/../patcher/target/x86_64-unknown-linux-musl/minsizerelease/patcher" "${FOLDER}/src/theseus_autopatcher/patcher_86_64_musl"
env --chdir "${FOLDER}" poetry build