feat: support go module on 1.11 (#377)

This commit is contained in:
Bo-Yi Wu
2018-10-15 11:49:53 +08:00
committed by GitHub
parent 36fea0bfed
commit 4d34ccecf0
4 changed files with 208 additions and 1 deletions

View File

@@ -69,6 +69,9 @@ fmt-check:
vet:
$(GO) vet $(PACKAGES)
module:
$(GO) mod download
deps:
$(GO) get github.com/campoy/embedmd
@@ -200,7 +203,7 @@ endif
docker push $(DEPLOY_ACCOUNT)/$(EXECUTABLE):$(tag)
clean:
$(GO) clean -x -i ./...
$(GO) clean -modcache -x -i ./...
find . -name coverage.txt -delete
find . -name *.tar.gz -delete
find . -name *.db -delete