Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #714 from simonswine/remove-goreleaser
Browse files Browse the repository at this point in the history
Remove goreleaser remains
  • Loading branch information
jetstack-bot authored Jan 31, 2019
2 parents bb5468f + c149738 commit f1c224b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ ifeq ($(UNAME_S),Linux)
SHASUM := sha256sum -c
DEP_URL := https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
DEP_HASH := 287b08291e14f1fae8ba44374b26a2b12eb941af3497ed0ca649253e21ba2f83
GORELEASER_URL := https://github.com/goreleaser/goreleaser/releases/download/v0.77.0/goreleaser_Linux_x86_64.tar.gz
GORELEASER_HASH := aae3c5bb76b282e29940f2654b48b13e51f664368c7589d0e86b391b7ef51cc8
NODE_NAME := node-v8.12.0-linux-x64
NODE_URL := https://nodejs.org/dist/v8.12.0/${NODE_NAME}.$(TAR_EXT)
NODE_HASH := 29a20479cd1e3a03396a4e74a1784ccdd1cf2f96928b56f6ffa4c8dae40c88f2
Expand All @@ -40,8 +38,6 @@ ifeq ($(UNAME_S),Darwin)
SHASUM := shasum -a 256 -c
DEP_URL := https://github.com/golang/dep/releases/download/v0.5.0/dep-darwin-amd64
DEP_HASH := 1a7bdb0d6c31ecba8b3fd213a1170adf707657123e89dff234871af9e0498be2
GORELEASER_URL := https://github.com/goreleaser/goreleaser/releases/download/v0.77.0/goreleaser_Darwin_x86_64.tar.gz
GORELEASER_HASH := bc6cdf2dfe506f2cce5abceb30da009bfd5bcdb3e52608c536e6c2ceea1f24fe
NODE_NAME := node-v8.12.0-darwin-x64
NODE_URL := https://nodejs.org/dist/v8.12.0/${NODE_NAME}.$(TAR_EXT)
NODE_HASH := ca131b84dfcf2b6f653a6521d31f7a108ad7d83f4d7e781945b2eca8172064aa
Expand All @@ -62,7 +58,7 @@ help1:

all: verify test build ## runs verify, test and build targets

depend: $(BINDIR)/go-bindata $(BINDIR)/mockgen $(BINDIR)/defaulter-gen $(BINDIR)/defaulter-gen $(BINDIR)/deepcopy-gen $(BINDIR)/conversion-gen $(BINDIR)/client-gen $(BINDIR)/lister-gen $(BINDIR)/informer-gen $(BINDIR)/dep $(BINDIR)/goreleaser $(BINDIR)/upx $(BINDIR)/openapi-gen $(BINDIR)/gen-apidocs $(BINDIR)/node $(BINDIR)/ghr ## download all dependencies necessary for build
depend: $(BINDIR)/go-bindata $(BINDIR)/mockgen $(BINDIR)/defaulter-gen $(BINDIR)/defaulter-gen $(BINDIR)/deepcopy-gen $(BINDIR)/conversion-gen $(BINDIR)/client-gen $(BINDIR)/lister-gen $(BINDIR)/informer-gen $(BINDIR)/dep $(BINDIR)/upx $(BINDIR)/openapi-gen $(BINDIR)/gen-apidocs $(BINDIR)/node $(BINDIR)/ghr ## download all dependencies necessary for build

verify: generate go_verify verify_boilerplate verify_codegen verify_vendor verify_gen_docs ## verifies generated files & scripts

Expand Down Expand Up @@ -166,12 +162,6 @@ else
chmod +x $@
endif

$(BINDIR)/goreleaser:
curl -sL -o $@.tar.gz $(GORELEASER_URL)
echo "$(GORELEASER_HASH) $@.tar.gz" | $(SHASUM)
cd $(BINDIR) && tar xzvf $(shell basename $@).tar.gz goreleaser
rm $@.tar.gz

$(BINDIR)/openapi-gen:
mkdir -p $(BINDIR)
go build -o $@ ./vendor/k8s.io/kube-openapi/cmd/openapi-gen
Expand Down

0 comments on commit f1c224b

Please sign in to comment.