mirror of
https://github.com/jimeh/casecmp.git
synced 2026-02-19 02:16:40 +00:00
chore(go): update project for go 1.16 (modules, etc)
This commit is contained in:
5
Makefile
5
Makefile
@@ -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 \ "\
|
||||
|
||||
Reference in New Issue
Block a user