Skip to content

Commit

Permalink
Retire godep
Browse files Browse the repository at this point in the history
  • Loading branch information
janeczku committed Jan 28, 2017
1 parent b7f092c commit 3c41d73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ help:
@echo "make version - show app version"

build: build-dir
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 godep go build -ldflags "-X main.Version=$(VERSION) -X main.Git=$(SHA)" -o build/$(PROJECT)-linux-amd64
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.Version=$(VERSION) -X main.Git=$(SHA)" -o build/$(PROJECT)-linux-amd64

deps:
go get github.com/tools/godep
Expand All @@ -36,7 +36,7 @@ vet:
scripts/vet

test:
godep go test -v ./...
go test -v ./...

release:
git tag -f `cat VERSION`
Expand Down Expand Up @@ -66,7 +66,7 @@ dist-dir:
@rm -rf dist && mkdir dist

$(PLATFORMS):
CGO_ENABLED=0 GOOS=$@ GOARCH=$(ARCH) godep go build -ldflags "-X main.Version=$(VERSION) -X main.Git=$(SHA) -w -s" -a -o build/$(PROJECT)-$@-$(ARCH)/$(PROJECT)
CGO_ENABLED=0 GOOS=$@ GOARCH=$(ARCH) go build -ldflags "-X main.Version=$(VERSION) -X main.Git=$(SHA) -w -s" -a -o build/$(PROJECT)-$@-$(ARCH)/$(PROJECT)

ci-dist: ci-compile dist-dir
$(eval FILES := $(shell ls build))
Expand Down

0 comments on commit 3c41d73

Please sign in to comment.