diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 31 |
1 files changed, 4 insertions, 27 deletions
@@ -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 [email protected]: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 |
