muele/red/justfile

10 lines
308 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 -S shutdown now"