From 41fe4a4659d50d70a835224405490588019d24ff Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 25 Jan 2024 00:39:14 -0600 Subject: new home Signed-off-by: Jeff Carr --- Makefile | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 539d964..b4b840c 100644 --- a/Makefile +++ b/Makefile @@ -1,32 +1,9 @@ all: - # 'gaper' is a simple and smart golang tool that just rebuilds every time you change a file - # go get -u github.com/maxcnunes/gaper - # gaper -# simple sortcut to push all git changes -push: - git pull - git add --all - -git commit -a -s - git push +goimports: + goimports -w *.go redomod: rm -f go.* - unset GO111MODULES && go mod init - unset GO111MODULES && go mod tidy - -# should update every go dependancy (?) -update: - git pull - go get -v -t -u ./... - -# sync repo to the github backup -# git remote add github2 git@github.com:wit-go/shell.git -# git branch -M master -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 + GO111MODULE= go mod init + GO111MODULE= go mod tidy -- cgit v1.2.3