Minor refactor of Makefile

This commit is contained in:
mitchell 2019-06-02 02:39:39 -07:00
parent 30e514cb88
commit 9cf176b99f
1 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
.PHONY: all build clean format test gen-certs-go
docker: install
docker: clean format install
docker-compose build
build: clean gen-certs-go format
build: gen-certs-go
go build -mod=vendor -o ./bin/server ./cmd/server
rm ./cmd/server/certs.go
clean:
rm -rf ./bin
rm -rf ./bin ./vendor ./cmd/server/certs.go
local:
docker-compose up -d