Add just command for sshfs mount

This commit is contained in:
Frederik Menke 2023-05-01 23:22:54 +02:00
parent fabb978e17
commit cf2bf37ed8
2 changed files with 10 additions and 6 deletions

3
red/.gitignore vendored
View file

@ -1,2 +1,3 @@
target target
Cargo.lock Cargo.lock
mount

View file

@ -1,10 +1,13 @@
build: build:
cargo build --target=armv7-unknown-linux-gnueabihf cargo build --target=armv7-unknown-linux-gnueabihf
rrun: rrun:
#scp -r ./src olimex@muele.local:red/ #scp -r ./src olimex@muele.local:red/
rsync -rvu --filter=':- .gitignore' ../red olimex@muele.local: rsync -rvu --filter=':- .gitignore' ../red olimex@muele.local:
ssh olimex@muele.local "cd red; /home/olimex/.cargo/bin/cargo run;" ssh olimex@muele.local "cd red; /home/olimex/.cargo/bin/cargo run;"
rdown: rdown:
ssh olimex@muele.local "sudo /usr/sbin/poweroff" ssh olimex@muele.local "sudo /usr/sbin/poweroff"
mount:
sshfs olimex@muele.local:/ mount