18 lines
319 B
Makefile
18 lines
319 B
Makefile
url := "olimex@muele.local"
|
|
|
|
build:
|
|
cross build --target=armv7-unknown-linux-gnueabihf
|
|
|
|
run:
|
|
scp -r ./target/armv7-unknown-linux-gnueabihf/debug/red {{url}}:red-cross
|
|
ssh {{url}} "RUST_BACKTRACE=1 ./red-cross;"
|
|
|
|
rdown:
|
|
ssh {{url}} "sudo /usr/sbin/poweroff"
|
|
|
|
mount:
|
|
sshfs {{url}}:/ mount
|
|
|
|
login:
|
|
ssh {{url}}
|