muele/red/justfile

19 lines
392 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
2024-01-08 23:39:52 +00:00
run:
2024-01-13 21:42:12 +00:00
ssh {{url}} "killall red" || echo "Failed to kill process. Maybe it's not running"
rsync -vu ./target/armv7-unknown-linux-gnueabihf/debug/red {{url}}:
ssh {{url}} "RUST_BACKTRACE=1 ./red"
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}}