2019-04-07 23:15:01 -05:00
|
|
|
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
|
|
|
|
|
2024-01-05 20:07:49 -06:00
|
|
|
redomod:
|
|
|
|
rm -f go.*
|
|
|
|
unset GO111MODULES && go mod init
|
|
|
|
unset GO111MODULES && go mod tidy
|
|
|
|
|
2019-04-07 23:15:01 -05:00
|
|
|
# should update every go dependancy (?)
|
|
|
|
update:
|
|
|
|
git pull
|
|
|
|
go get -v -t -u ./...
|
2023-12-20 14:57:01 -06:00
|
|
|
|
|
|
|
# sync repo to the github backup
|
2023-12-20 15:09:20 -06:00
|
|
|
# git remote add github2 git@github.com:wit-go/shell.git
|
|
|
|
# git branch -M master
|
2023-12-20 14:57:01 -06:00
|
|
|
github:
|
|
|
|
git push origin master
|
2024-01-05 20:14:38 -06:00
|
|
|
git push origin devel
|
2023-12-20 14:57:01 -06:00
|
|
|
git push origin --tags
|
2024-01-05 20:14:38 -06:00
|
|
|
git push github master
|
|
|
|
git push github devel
|
|
|
|
git push github --tags
|