Makefile 237 B

123456789
  1. test:
  2. go test -v ./...
  3. GOPROXY ?= direct
  4. mod:
  5. GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x \
  6. go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
  7. go mod tidy