mirror of https://github.com/mitchell/selfpass.git
Minor refactor of Makefile
This commit is contained in:
parent
30e514cb88
commit
9cf176b99f
6
Makefile
6
Makefile
|
@ -1,14 +1,14 @@
|
||||||
.PHONY: all build clean format test gen-certs-go
|
.PHONY: all build clean format test gen-certs-go
|
||||||
|
|
||||||
docker: install
|
docker: clean format install
|
||||||
docker-compose build
|
docker-compose build
|
||||||
|
|
||||||
build: clean gen-certs-go format
|
build: gen-certs-go
|
||||||
go build -mod=vendor -o ./bin/server ./cmd/server
|
go build -mod=vendor -o ./bin/server ./cmd/server
|
||||||
rm ./cmd/server/certs.go
|
rm ./cmd/server/certs.go
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ./bin
|
rm -rf ./bin ./vendor ./cmd/server/certs.go
|
||||||
|
|
||||||
local:
|
local:
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
Loading…
Reference in New Issue