diff --git a/red/justfile b/red/justfile index e701495..98b0e54 100644 --- a/red/justfile +++ b/red/justfile @@ -1,16 +1,18 @@ +url := "olimex@muele.local" + build: cargo build --target=armv7-unknown-linux-gnueabihf rrun: - #scp -r ./src olimex@muele.local:red/ - rsync -rvu --filter=':- .gitignore' ../red olimex@muele.local: - ssh olimex@muele.local "cd red; /home/olimex/.cargo/bin/cargo run;" + #scp -r ./src {{url}}:red/ + rsync -rvu --filter=':- .gitignore' ../red {{url}}: + ssh {{url}} "cd red; /home/olimex/.cargo/bin/cargo run;" rdown: - ssh olimex@muele.local "sudo /usr/sbin/poweroff" + ssh {{url}} "sudo /usr/sbin/poweroff" mount: - sshfs olimex@muele.local:/ mount + sshfs {{url}}:/ mount login: - ssh olimex@muele.local + ssh {{url}}