blob: 4250054ffe348db6d88c3ce5a01c9be4f3d74ce7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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
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 --tags
git push github2 master
git push github2 --tags
|