summaryrefslogblamecommitdiff
path: root/justfile
blob: 63d27aac206df11d859af01a231fa3ef289ee39e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                                
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 &