Depend on build for run
This commit is contained in:
parent
bc39b14fef
commit
5954377a89
|
@ -3,7 +3,7 @@ url := "olimex@muele.local"
|
|||
build:
|
||||
cross build --target=armv7-unknown-linux-gnueabihf
|
||||
|
||||
run:
|
||||
run: build
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue