summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2025-02-22 09:55:42 -0500
committerRobby Zambito <contact@robbyzambito.me>2025-02-22 09:55:52 -0500
commit9fd787527146d3bc37c6312a3bde29ed38018bb0 (patch)
tree3c6cbb5125307ed07823f978355f939a92b56d81
parent50bd2145129d40e111088a4a80be732f8614bd5c (diff)
Add run and default targets
run is useful for local testing
-rw-r--r--justfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/justfile b/justfile
index d51fe15..5939aff 100644
--- a/justfile
+++ b/justfile
@@ -1,11 +1,17 @@
set dotenv-load := true
+@default:
+ just --list
+
clean:
rm -rf bin/
build:
go build -o bin/http-nats-proxy main.go
+run: clean build
+ ./bin/http-nats-proxy
+
deploy:
ssh -t {{env('DEPLOY_HOST')}} "\
cd {{env('DEPLOY_DIR')}} && \