don't need glide

This commit is contained in:
Rafael Garcia 2017-02-08 20:25:43 +00:00
parent 39e5fa5860
commit 14568eb5ad

View file

@ -1,7 +1,7 @@
SHELL := /bin/bash SHELL := /bin/bash
JAR_DIR := jars JAR_DIR := jars
PKG := github.com/Clever/amazon-kinesis-client-go PKG := github.com/Clever/amazon-kinesis-client-go
.PHONY: download_jars run build install_deps .PHONY: download_jars run build
URL_PREFIX := http://search.maven.org/remotecontent?filepath= URL_PREFIX := http://search.maven.org/remotecontent?filepath=
@ -36,16 +36,6 @@ $(JARS_TO_DOWNLOAD):
download_jars: $(JARS_TO_DOWNLOAD) download_jars: $(JARS_TO_DOWNLOAD)
GLIDE_VERSION = v0.12.3
$(GOPATH)/src/github.com/Masterminds/glide:
git clone -b $(GLIDE_VERSION) https://github.com/Masterminds/glide.git $(GOPATH)/src/github.com/Masterminds/glide
$(GOPATH)/bin/glide: $(GOPATH)/src/github.com/Masterminds/glide
go build -o $(GOPATH)/bin/glide github.com/Masterminds/glide
install_deps: $(GOPATH)/bin/glide
@$(GOPATH)/bin/glide install -v
build: build:
CGO_ENABLED=0 go build -installsuffix cgo -o build/consumer $(PKG)/cmd/consumer CGO_ENABLED=0 go build -installsuffix cgo -o build/consumer $(PKG)/cmd/consumer