17 lines
415 B
Makefile
17 lines
415 B
Makefile
all:
|
|
@echo
|
|
@echo the github branch in this repo has the davecgh\'s master branch
|
|
@echo
|
|
@echo this is an experiement by me to learn how go modules and versioning works
|
|
@echo go-spew is a great tool. thanks dave!
|
|
@echo
|
|
|
|
test:
|
|
go test -v -race -tags safe ./
|
|
go test -v -race -tags testcgo ./ -covermode=atomic -coverprofile=profile.cov
|
|
|
|
redomod:
|
|
rm -f go.*
|
|
GO111MODULE= go mod init
|
|
GO111MODULE= go mod tidy
|