mirror of
https://git.robbyzambito.me/http-nats-proxy
synced 2025-12-20 08:14:51 +00:00
15 lines
260 B
Makefile
15 lines
260 B
Makefile
set dotenv-load := true
|
|
|
|
clean:
|
|
rm -rf bin/
|
|
|
|
build:
|
|
go build -o bin/http-nats-proxy main.go
|
|
|
|
deploy:
|
|
ssh ${DEPLOY_HOST} "cd ${DEPLOY_DIR} && git pull && just clean build && just run-daemon"
|
|
|
|
run-daemon:
|
|
pkill http-nats-proxy
|
|
nohup ./bin/http-nats-proxy &
|