30 lines
516 B
Makefile
30 lines
516 B
Makefile
# git remote add github git@github.com:wit-go/log.git
|
|
|
|
all:
|
|
#@GO111MODULE=off go vet -x
|
|
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
|