summaryrefslogtreecommitdiffstats
path: root/scripts/bump_gocui.sh
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-01-08 15:57:31 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-08 16:05:11 +1100
commit4a1d23dc27f61e936fb3b582f02e2bba473c3b19 (patch)
treeb6db7e8b5d743476d0e2f0686da132e16a1cfb17 /scripts/bump_gocui.sh
parent7539929703d76b4228a034ca7524293744839c3d (diff)
bump gocui
Diffstat (limited to 'scripts/bump_gocui.sh')
-rwxr-xr-xscripts/bump_gocui.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bump_gocui.sh b/scripts/bump_gocui.sh
new file mode 100755
index 000000000..3e0adebae
--- /dev/null
+++ b/scripts/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 && go mod tidy
+
+# 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)