From 36b0e3d2c1f8b370bf4dc58606c15b9743316bef Mon Sep 17 00:00:00 2001 From: Pascal Dennerly Date: Fri, 24 Jan 2020 21:43:47 +0000 Subject: [PATCH 1/3] Add tparse download --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d4be89b..44017a1 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,10 @@ clean-deps: ./bin/golangci-lint: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.22.2 -test-deps: ./bin/bats ./bin/golangci-lint +./bin/tparse: ./bin ./tmp + curl -sfL -o ./tmp/tparse.tar.hz https://github.com/mfridman/tparse/releases/download/v0.7.4/tparse_0.7.4_Linux_x86_64.tar.gz + +test-deps: ./bin/tparse ./bin/bats ./bin/golangci-lint $(GO_BIN) get github.com/mfridman/tparse $(GO_BIN) install github.com/mfridman/tparse $(GO_BIN) get -v ./... From dd6e8e3808e282a4fae725345f045fd6df6a7e0f Mon Sep 17 00:00:00 2001 From: Pascal Dennerly Date: Fri, 24 Jan 2020 21:50:15 +0000 Subject: [PATCH 2/3] Add tparse extraction --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 44017a1..879df3f 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,8 @@ clean-deps: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.22.2 ./bin/tparse: ./bin ./tmp - curl -sfL -o ./tmp/tparse.tar.hz https://github.com/mfridman/tparse/releases/download/v0.7.4/tparse_0.7.4_Linux_x86_64.tar.gz + curl -sfL -o ./tmp/tparse.tar.gz https://github.com/mfridman/tparse/releases/download/v0.7.4/tparse_0.7.4_Linux_x86_64.tar.gz + tar -xf ./tmp/tparse.tar.gz -C ./bin/tparse test-deps: ./bin/tparse ./bin/bats ./bin/golangci-lint $(GO_BIN) get github.com/mfridman/tparse From d82d686fc760bea23b60d1fa4d5025d1a113846c Mon Sep 17 00:00:00 2001 From: Pascal Dennerly Date: Fri, 24 Jan 2020 21:51:42 +0000 Subject: [PATCH 3/3] Fix target path --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 879df3f..86385ce 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ clean-deps: ./bin/tparse: ./bin ./tmp curl -sfL -o ./tmp/tparse.tar.gz https://github.com/mfridman/tparse/releases/download/v0.7.4/tparse_0.7.4_Linux_x86_64.tar.gz - tar -xf ./tmp/tparse.tar.gz -C ./bin/tparse + tar -xf ./tmp/tparse.tar.gz -C ./bin test-deps: ./bin/tparse ./bin/bats ./bin/golangci-lint $(GO_BIN) get github.com/mfridman/tparse