You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
936 B

Index: src/github.com/zyedidia/micro/Makefile
--- src/github.com/zyedidia/micro/Makefile.orig 2021-11-06 13:28:31.000000000 +0100
+++ src/github.com/zyedidia/micro/Makefile 2021-11-06 13:40:37.710382000 +0100
@@ -2,7 +2,7 @@
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)
+HASH = 0000
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) \
@@ -16,7 +16,7 @@
build: generate build-quick
build-quick:
- go build -trimpath -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
+ go build -v -trimpath -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
build-dbg:
go build -trimpath -ldflags "-s -w $(ADDITIONAL_GO_LINKER_FLAGS) $(DEBUGVAR)" ./cmd/micro