Dont try to generate code on every make build

This commit is contained in:
Kristoffer Dalby 2021-10-27 06:48:30 +00:00
parent d4265779ef
commit 2d92719095

View File

@ -1,7 +1,7 @@
# Calculate version
version = $(shell ./scripts/version-at-commit.sh)
build: generate
build:
go build -ldflags "-s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=$(version)" cmd/headscale/headscale.go
dev: lint test build