summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2d5b734..656758e 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,13 @@ clean:
-rm -f go.*
go-mod-clean purge
+redomod:
+ rm -f go.*
+ goimports -w *.go
+ GO111MODULE= go mod init
+ GO111MODULE= go mod tidy
+
+
# fixes your numbers if you move things around
# THIS TOTALLY BREAKS THE POINT OF PROTOBUF
# To work around that breaking, you must change the version