Depend on build for run
This commit is contained in:
parent
bc39b14fef
commit
5954377a89
|
@ -3,7 +3,7 @@ url := "olimex@muele.local"
|
||||||
build:
|
build:
|
||||||
cross build --target=armv7-unknown-linux-gnueabihf
|
cross build --target=armv7-unknown-linux-gnueabihf
|
||||||
|
|
||||||
run:
|
run: build
|
||||||
ssh {{url}} "killall red" || echo "Failed to kill process. Maybe it's not running"
|
ssh {{url}} "killall red" || echo "Failed to kill process. Maybe it's not running"
|
||||||
rsync -vu ./target/armv7-unknown-linux-gnueabihf/debug/red {{url}}:
|
rsync -vu ./target/armv7-unknown-linux-gnueabihf/debug/red {{url}}:
|
||||||
ssh {{url}} "RUST_BACKTRACE=1 ./red"
|
ssh {{url}} "RUST_BACKTRACE=1 ./red"
|
||||||
|
|
Loading…
Reference in a new issue