1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

update Makefile

This commit is contained in:
Timothy Ye 2021-02-05 17:52:38 +00:00
parent 99af25e496
commit 2154fcc762

View File

@ -2,7 +2,7 @@
BINARY=godns
# Builds the project
build:
GO111MODULE=on go build cmd/godns/godns.go -o ${BINARY} -ldflags "-X main.Version=${VERSION}"
GO111MODULE=on go build -ldflags "-X main.Version=${VERSION}" -o ${BINARY} cmd/godns/godns.go
# Installs our project: copies binaries
install:
GO111MODULE=on go install