update make script to build site

This commit is contained in:
Will Greenberg
2025-04-16 10:57:18 -07:00
parent fb1657676e
commit 2fc0144905

View File

@@ -1,4 +1,7 @@
#!/bin/sh
#!/bin/bash -e
pushd bin/web
npm run build
popd
cargo build --release --target="armv7-unknown-linux-gnueabihf" #--features debug
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon stop"'
adb push target/armv7-unknown-linux-gnueabihf/release/rayhunter-daemon /data/rayhunter/rayhunter-daemon