muele/red/justfile

19 lines
358 B
Makefile
Raw Normal View History

2023-05-06 18:19:17 +00:00
url := "olimex@muele.local"
2022-10-16 13:44:43 +00:00
build:
2024-01-08 21:34:49 +00:00
cross build --target=armv7-unknown-linux-gnueabihf
2022-10-16 13:44:43 +00:00
rrun:
2023-05-06 18:19:17 +00:00
#scp -r ./src {{url}}:red/
rsync -rvu --filter=':- .gitignore' ../red {{url}}:
2023-11-18 23:18:37 +00:00
ssh {{url}} "cd red; RUST_BACKTRACE=1 /home/olimex/.cargo/bin/cargo run;"
2022-10-20 18:04:49 +00:00
rdown:
2023-05-06 18:19:17 +00:00
ssh {{url}} "sudo /usr/sbin/poweroff"
2023-05-01 21:22:54 +00:00
mount:
2023-05-06 18:19:17 +00:00
sshfs {{url}}:/ mount
2023-05-04 19:29:50 +00:00
login:
2023-05-06 18:19:17 +00:00
ssh {{url}}