File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11module github.com/openshift/managed-velero-operator
22
33require (
4+ github.com/NYTimes/gziphandler v1.0.1 // indirect
45 github.com/openshift/api v3.9.1-0.20190806225813-d2972510af76+incompatible
56 github.com/operator-framework/operator-sdk v0.10.1-0.20190809191117-c1e2eae6580e
67 github.com/spf13/pflag v1.0.3
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export GO111MODULE=on
3030GOENV=GOOS =linux GOARCH=amd64 CGO_ENABLED=0
3131GOFLAGS=-gcflags="all=-trimpath =${GOPATH}" -asmflags="all=-trimpath=${GOPATH}"
3232
33- TESTTARGETS := $(shell go list -e ./... | egrep -v "/(vendor) /")
3433# ex, -v
3534TESTOPTS :=
3635
4443
4544.PHONY : isclean
4645isclean :
47- @ (test " $( ALLOW_DIRTY_CHECKOUT) " ! = " false" || test 0 -eq $$ (git status --porcelain | wc -l)) || (echo " Local git checkout is not clean, commit changes and try again." && exit 1)
46+ @ (test " $( ALLOW_DIRTY_CHECKOUT) " ! = " false" || test 0 -eq $$ (git status --porcelain | wc -l)) || (echo " Local git checkout is not clean, commit changes and try again." >&2 && exit 1)
4847
4948.PHONY : build
5049build : isclean envtest
@@ -66,12 +65,12 @@ gobuild: ## Build binary
6665
6766.PHONY : gotest
6867gotest :
69- go test $(TESTOPTS ) $(TESTTARGETS )
68+ go test $(TESTOPTS ) $(shell go list -mod=readonly -e ./... | egrep -v "/(vendor) / " )
7069
7170.PHONY : envtest
72- envtest :
71+ envtest : isclean
7372 @# test that the env target can be evaluated, required by osd-operators-registry
74- @eval $$($(MAKE ) env --no-print-directory) || (echo ' Unable to evaulate output of `make env`. This breaks osd-operators-registry.' && exit 1)
73+ @eval $$($(MAKE ) env --no-print-directory) || (echo ' Unable to evaulate output of `make env`. This breaks osd-operators-registry.' >&2 && exit 1)
7574
7675.PHONY : test
7776test : envtest gotest
You can’t perform that action at this time.
0 commit comments