summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-08-07 23:50:09 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-08-07 23:50:09 +0200
commit93e1de570f47b095905835735dbd67479aa0c2de (patch)
treeca45171b1683e7ee13843a9603f8df8e9e1782ed
parent4cd6266222fd614e11f52ca2244157e7b714c8df (diff)
[pkg] make updating go easier
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b32aea6..c847e78 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,13 @@ all: icon locales build
# go build
#########################################################################
+install_go:
+ # the version of go in bionic is too old. let's get something newer from a ppa.
+ @sudo add-apt-repository ppa:longsleep/golang-backports
+ @sudo apt-get update
+ @sudo apt-get install golang-go
+
+
depends:
-@make depends$(UNAME)
@go get -u golang.org/x/text/cmd/gotext github.com/cratonica/2goarray