aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/fsouza/go-dockerclient/Makefile
diff options
context:
space:
mode:
authorAlex Pilon <apilon@hashicorp.com>2019-02-22 18:24:22 -0500
committerAlex Pilon <apilon@hashicorp.com>2019-02-22 18:24:22 -0500
commit07971ca38143c5faf951d152fba370ddcbe26ad5 (patch)
tree09af1ef91c782de921efc83113907184c8adecee /vendor/github.com/fsouza/go-dockerclient/Makefile
parent9b6f05970a001f683b9c886c652de81f00cd5f00 (diff)
downloadterraform-provider-statuscake-07971ca38143c5faf951d152fba370ddcbe26ad5.tar.gz
terraform-provider-statuscake-07971ca38143c5faf951d152fba370ddcbe26ad5.tar.zst
terraform-provider-statuscake-07971ca38143c5faf951d152fba370ddcbe26ad5.zip
deps: use go modules for dep mgmt
run go mod tidy remove govendor from makefile and travis config set appropriate env vars for go modules
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/Makefile')
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/Makefile57
1 files changed, 0 insertions, 57 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/Makefile b/vendor/github.com/fsouza/go-dockerclient/Makefile
deleted file mode 100644
index 2d6a5cf..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
1.PHONY: \
2 all \
3 vendor \
4 lint \
5 vet \
6 fmt \
7 fmtcheck \
8 pretest \
9 test \
10 integration \
11 cov \
12 clean
13
14PKGS = . ./testing
15
16all: test
17
18vendor:
19 @ go get -v github.com/mjibson/party
20 party -d external -c -u
21
22lint:
23 @ go get -v github.com/golang/lint/golint
24 @for file in $$(git ls-files '*.go' | grep -v 'external/'); do \
25 export output="$$(golint $${file} | grep -v 'type name will be used as docker.DockerInfo')"; \
26 [ -n "$${output}" ] && echo "$${output}" && export status=1; \
27 done; \
28 exit $${status:-0}
29
30vet:
31 go vet $(PKGS)
32
33fmt:
34 gofmt -s -w $(PKGS)
35
36fmtcheck:
37 @ export output=$$(gofmt -s -d $(PKGS)); \
38 [ -n "$${output}" ] && echo "$${output}" && export status=1; \
39 exit $${status:-0}
40
41pretest: lint vet fmtcheck
42
43gotest:
44 go test $(GO_TEST_FLAGS) $(PKGS)
45
46test: pretest gotest
47
48integration:
49 go test -tags docker_integration -run TestIntegration -v
50
51cov:
52 @ go get -v github.com/axw/gocov/gocov
53 @ go get golang.org/x/tools/cmd/cover
54 gocov test | gocov report
55
56clean:
57 go clean $(PKGS)