chore(go): update project for go 1.16 (modules, etc)

This commit is contained in:
2021-04-14 19:37:54 +01:00
parent 93589c3261
commit ee6700367f
40 changed files with 44 additions and 9040 deletions

View File

@@ -1,10 +1,7 @@
NAME = casecmp
BINARY = bin/${NAME}
VERSION ?= $(shell cat VERSION)
SOURCES = $(shell find . \
-name '*.go' \
-o -name 'Makefile' \
-o -name 'VERSION')
SOURCES = $(shell find . -name '*.go' -o -name 'Makefile')
$(BINARY): $(SOURCES)
CGO_ENABLED=0 go build -a -o ${BINARY} -ldflags \ "\