Makefile update

This commit is contained in:
Adam Štrauch 2021-09-05 21:44:11 +02:00
parent 65c6aef5dc
commit f60f92d667
Signed by: cx
GPG Key ID: 018304FFA8988F8D

View File

@ -13,7 +13,7 @@ test:
go test -v server/*.go go test -v server/*.go
.PHONY: build .PHONY: build
build: test build: test clean
mkdir -p ./bin mkdir -p ./bin
# linux amd64 # linux amd64
env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/lobbyd-${VERSION}-linux-amd64 daemon/*.go env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/lobbyd-${VERSION}-linux-amd64 daemon/*.go