Merge branch 'support-different-go-versions' of sloum/bombadillo into develop

This commit is contained in:
Sloom Sloum Sluom IV 2019-11-07 00:57:07 -05:00 committed by Gitea
commit ed5c267847
1 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
GOCMD := go
BINARY := bombadillo BINARY := bombadillo
PREFIX := /usr/local PREFIX := /usr/local
EXEC_PREFIX := ${PREFIX} EXEC_PREFIX := ${PREFIX}
@ -21,7 +22,7 @@ LDFLAGS := -ldflags "-s -X main.version=${VERSION} -X main.build=${BUILD_TIME}"
.PHONY: build .PHONY: build
build: build:
go build ${LDFLAGS} -o ${BINARY} ${GOCMD} build ${LDFLAGS} -o ${BINARY}
.PHONY: install .PHONY: install
install: install-bin install-man clean install: install-bin install-man clean
@ -39,7 +40,7 @@ install-bin: build
.PHONY: clean .PHONY: clean
clean: clean:
go clean ${GOCMD} clean
rm -f ./bombadillo.1.gz 2> /dev/null rm -f ./bombadillo.1.gz 2> /dev/null
.PHONY: uninstall .PHONY: uninstall