blob: d51fe151396b66be3a91d3e4a7720f61587dfeaf (
plain) (
tree)
|
|
set dotenv-load := true
clean:
rm -rf bin/
build:
go build -o bin/http-nats-proxy main.go
deploy:
ssh -t {{env('DEPLOY_HOST')}} "\
cd {{env('DEPLOY_DIR')}} && \
git pull -f --rebase && \
just clean build run-daemon"
run-daemon:
pkill http-nats-proxy || true
./bin/http-nats-proxy &>> /var/log/http-nats-proxy.log &
|