mirror of
https://git.robbyzambito.me/http-nats-proxy
synced 2025-12-20 08:14:51 +00:00
Add run and default targets
run is useful for local testing
This commit is contained in:
6
justfile
6
justfile
@@ -1,11 +1,17 @@
|
|||||||
set dotenv-load := true
|
set dotenv-load := true
|
||||||
|
|
||||||
|
@default:
|
||||||
|
just --list
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf bin/
|
rm -rf bin/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -o bin/http-nats-proxy main.go
|
go build -o bin/http-nats-proxy main.go
|
||||||
|
|
||||||
|
run: clean build
|
||||||
|
./bin/http-nats-proxy
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
ssh -t {{env('DEPLOY_HOST')}} "\
|
ssh -t {{env('DEPLOY_HOST')}} "\
|
||||||
cd {{env('DEPLOY_DIR')}} && \
|
cd {{env('DEPLOY_DIR')}} && \
|
||||||
|
|||||||
Reference in New Issue
Block a user