summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..97d7a42
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,32 @@
+# git remote add github [email protected]: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