X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Makefile;h=fc9601aa5c4de5d24a00a15d6c7e643deac6c77d;hb=3dcd01f8b830329372f1e17d46c78465f3e26a93;hp=bf71be5373a1182469ce6384715f9fb64ebc11ef;hpb=a6796fcbd967f6d06b4f112f279beb4f78efbe72;p=micro.git diff --git a/Makefile b/Makefile index bf71be53..fc9601aa 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ DATE = $(shell GOOS=$(shell go env GOHOSTOS) GOARCH=$(shell go env GOHOSTARCH) \ go run tools/build-date.go) ADDITIONAL_GO_LINKER_FLAGS = $(shell GOOS=$(shell go env GOHOSTOS) \ GOARCH=$(shell go env GOHOSTARCH) \ - go run tools/info-plist.go "$(VERSION)") + go run tools/info-plist.go "$(shell go env GOOS)" "$(VERSION)") GOBIN ?= $(shell go env GOPATH)/bin GOVARS = -X github.com/zyedidia/micro/v2/internal/util.Version=$(VERSION) -X github.com/zyedidia/micro/v2/internal/util.CommitHash=$(HASH) -X 'github.com/zyedidia/micro/v2/internal/util.CompileDate=$(DATE)' DEBUGVAR = -X github.com/zyedidia/micro/v2/internal/util.Debug=ON @@ -35,7 +35,7 @@ fetch-tags: git fetch --tags generate: - go generate ./runtime + GOOS=$(shell go env GOHOSTOS) GOARCH=$(shell go env GOHOSTARCH) go generate ./runtime testgen: mkdir -p tools/vscode-tests