summaryrefslogtreecommitdiffstats
path: root/bump_gocui.sh
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-10-18 22:21:59 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-10-18 22:24:51 +1100
commite4888e924ed55abdcc07c924df734afd0921a46e (patch)
tree141d54155ab656cb9bb36054533c15d2106cf31a /bump_gocui.sh
parent71fdc5c03885bfabc50ccd6bfe0f83637a6cd4cc (diff)
update docs
Diffstat (limited to 'bump_gocui.sh')
-rwxr-xr-xbump_gocui.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bump_gocui.sh b/bump_gocui.sh
new file mode 100755
index 000000000..30e565375
--- /dev/null
+++ b/bump_gocui.sh
@@ -0,0 +1,5 @@
+# Go's proxy servers are not very up-to-date so that's why we use `GOPROXY=direct`
+# We specify the `awesome` branch to avoid the default behaviour of looking for a semver tag.
+GOPROXY=direct go get -u github.com/jesseduffield/gocui@awesome && go mod vendor
+
+# Note to self if you ever want to fork a repo be sure to use this same approach: it's important to use the branch name (e.g. master)