Files
open-xiaoai/packages/client-v2/Makefile
T

14 lines
509 B
Makefile
Raw Normal View History

2026-01-02 10:22:16 +08:00
build-server:
2026-01-02 13:04:19 +08:00
clear && cargo build --release --bin server --features app
2026-01-02 10:22:16 +08:00
build-client:
2026-01-02 13:04:19 +08:00
clear && docker run --rm -v $(shell pwd):/app idootop/open-xiaoai-runtime:oh2p \
2026-01-02 10:22:16 +08:00
cargo build --target armv7-unknown-linux-gnueabihf --release --bin client --features app
run-server:
2026-01-02 13:04:19 +08:00
target/release/server
2026-01-02 09:59:29 +08:00
# 部署到小爱音箱(调试自用)
deploy:
2026-01-02 10:22:16 +08:00
dd if=target/armv7-unknown-linux-gnueabihf/release/client \
| sshpass -p open-xiaoai ssh -o HostKeyAlgorithms=+ssh-rsa root@192.168.31.235 "dd of=/data/client"