Skip to content

Commit

Permalink
Don't get goreleaser if executable is in path
Browse files Browse the repository at this point in the history
  • Loading branch information
alxrem committed Mar 26, 2021
1 parent 5aa7026 commit e1b1880
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 75 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ build-gox: deps goimportscheck vet
-output="pkg/{{.OS}}_{{.Arch}}/terraform-provider-runscope" .

release:
GO111MODULE=off go get github.com/goreleaser/goreleaser; \
[ -x `which goreleaser` ] || GO111MODULE=off go get github.com/goreleaser/goreleaser; \
goreleaser; \

deps:
GO111MODULE=off go get -u github.com/mitchellh/gox

clean:
rm -rf pkg/

fmt:
gofmt -w $(GOFMT_FILES)

Expand Down Expand Up @@ -66,7 +66,7 @@ lint:
echo "and fix them if necessary before submitting the code for review."; \
exit 1; \
fi

test-compile:
@if [ "$(TEST)" = "./..." ]; then \
echo "ERROR: Set TEST to a specific package. For example,"; \
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/terraform-providers/terraform-provider-runscope

go 1.16

require (
github.com/ewilde/go-runscope v0.0.0-20190103115619-2adee83e99fe
github.com/hashicorp/hcl v1.0.0 // indirect
Expand Down
Loading

0 comments on commit e1b1880

Please sign in to comment.