summaryrefslogtreecommitdiff
path: root/Makefile
blob: ae0197565f3c15f38f3da42aa47a9465ce19794e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# git remote add github [email protected]:wit-go/log.git

all: goimport 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