From f30c615c382ee3599d9b84024ec80f092eb4de97 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Tue, 31 Mar 2020 16:43:58 -0400 Subject: [PATCH] Track golang packages --- Makefile | 3 +++ home/lib/login_variables.sh | 2 +- pkgs-golang.list | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 pkgs-golang.list diff --git a/Makefile b/Makefile index 896938e..2074204 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,9 @@ mpdconf: @mkdir -p ~/var/run/mpd @cp home/.mpdconf $(HOME)/ +pkgs_golang: list pkgs-golang.list + go get $(shell ./list pkgs-golang.list) + pkgs_ubuntu: list pkgs-ubuntu.list sudo apt install $(shell ./list pkgs-ubuntu.list) diff --git a/home/lib/login_variables.sh b/home/lib/login_variables.sh index db05598..f6d0a82 100644 --- a/home/lib/login_variables.sh +++ b/home/lib/login_variables.sh @@ -1,4 +1,4 @@ -export PATH=$HOME/bin:$HOME/.local/bin:/snap/bin:/sbin:/usr/sbin:$PATH +export PATH=$HOME/bin:$HOME/.local/bin:$HOME/go/bin:/snap/bin:/sbin:/usr/sbin:$PATH export EDITOR=vim export VISUAL=$EDITOR export DIR_GITHUB="${HOME}/Archives/Software/src/repos/remote/github.com" diff --git a/pkgs-golang.list b/pkgs-golang.list new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/pkgs-golang.list @@ -0,0 +1 @@ +# -- 2.20.1