log/Makefile

33 lines
560 B
Makefile

# git remote add github git@github.com:wit-go/log.git
all: vet
@#GO111MODULE=off go vet -x
@echo this go library builds ok
vet:
@GO111MODULE=off go vet
redomod:
rm -f go.*
GO111MODULE= go mod init
GO111MODULE= go mod tidy
goimport:
goimports -w *.go
github:
git push origin master
git push origin devel
git push origin --tags
git push github master
git push github devel
git push github --tags
@echo
@echo check https://github.com/wit-go/log
@echo
init-github:
git push -u github master
git push -u github devel
git push github --tags