aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--justfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/justfile b/justfile
index 6554cae..b07928e 100644
--- a/justfile
+++ b/justfile
@@ -17,8 +17,10 @@ df:
upload:
just copy . "${SSH_USER}@${SSH_HOST}:{{TARGET_DIR}}"
-start-remote:
- just ssh "{{TARGET_DIR}}/setup.sh" start
+restart-remote: (setup "start")
setup *args:
just ssh "{{TARGET_DIR}}/setup.sh" "$@"
+
+local-setup *args:
+ ROOT_DIR="$PWD" ./setup.sh "$@"