diff options
author | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:22 -0500 |
---|---|---|
committer | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:22 -0500 |
commit | 07971ca38143c5faf951d152fba370ddcbe26ad5 (patch) | |
tree | 09af1ef91c782de921efc83113907184c8adecee /vendor/github.com/fsouza/go-dockerclient/Makefile | |
parent | 9b6f05970a001f683b9c886c652de81f00cd5f00 (diff) | |
download | terraform-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/Makefile | 57 |
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 | |||
14 | PKGS = . ./testing | ||
15 | |||
16 | all: test | ||
17 | |||
18 | vendor: | ||
19 | @ go get -v github.com/mjibson/party | ||
20 | party -d external -c -u | ||
21 | |||
22 | lint: | ||
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 | |||
30 | vet: | ||
31 | go vet $(PKGS) | ||
32 | |||
33 | fmt: | ||
34 | gofmt -s -w $(PKGS) | ||
35 | |||
36 | fmtcheck: | ||
37 | @ export output=$$(gofmt -s -d $(PKGS)); \ | ||
38 | [ -n "$${output}" ] && echo "$${output}" && export status=1; \ | ||
39 | exit $${status:-0} | ||
40 | |||
41 | pretest: lint vet fmtcheck | ||
42 | |||
43 | gotest: | ||
44 | go test $(GO_TEST_FLAGS) $(PKGS) | ||
45 | |||
46 | test: pretest gotest | ||
47 | |||
48 | integration: | ||
49 | go test -tags docker_integration -run TestIntegration -v | ||
50 | |||
51 | cov: | ||
52 | @ go get -v github.com/axw/gocov/gocov | ||
53 | @ go get golang.org/x/tools/cmd/cover | ||
54 | gocov test | gocov report | ||
55 | |||
56 | clean: | ||
57 | go clean $(PKGS) | ||