muele/red/justfile

10 lines
311 B
Makefile

build:
cargo build --target=armv7-unknown-linux-gnueabihf
rrun:
#scp -r ./src olimex@muele.local:red/
rsync -rvu --filter=':- .gitignore' ../red olimex@muele.local:
ssh olimex@muele.local "cd red; /home/olimex/.cargo/bin/cargo run;"
rdown:
ssh olimex@muele.local "sudo /usr/sbin/poweroff"