muele/red/justfile

19 lines
358 B
Makefile

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