From https://github.com/micro-editor/micro/commit/6a62575bcfdf4965f187eedafceb3400316e612b Mon Sep 17 00:00:00 2001 From: Emi Date: Sun, 21 Jun 2026 07:59:26 +0200 Subject: [PATCH] Remove the need for Git Signed-off-by: Emi --- a/Makefile +++ b/Makefile @@ -2,11 +2,10 @@ VERSION = $(shell GOOS=$(shell go env GOHOSTOS) GOARCH=$(shell go env GOHOSTARCH) \ go run tools/build-version.go) -HASH = $(shell git rev-parse --short HEAD) DATE = $(shell GOOS=$(shell go env GOHOSTOS) GOARCH=$(shell go env GOHOSTARCH) \ go run tools/build-date.go) 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)' +GOVARS = -X github.com/zyedidia/micro/v2/internal/util.Version=$(VERSION) -X 'github.com/zyedidia/micro/v2/internal/util.CompileDate=$(DATE)' DEBUGVAR = -X github.com/zyedidia/micro/v2/internal/util.Debug=ON VSCODE_TESTS_BASE_URL = 'https://raw.githubusercontent.com/microsoft/vscode/e6a45f4242ebddb7aa9a229f85555e8a3bd987e2/src/vs/editor/test/common/model/' CGO_ENABLED := $(if $(CGO_ENABLED),$(CGO_ENABLED),0) -- 2.53.0