vim-go-tools/build.sh
Knut Ahlers d6fb67e6a4
Strip version suffix
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-07-06 23:14:14 +02:00

9 lines
179 B
Bash

#!/bin/bash
set -euo pipefail
packages=($(cat tools.txt))
for package in "${packages[@]}"; do
echo -e "\e[96mBuilding ${package}...\e[m" >&2
go get -u -v "${package%@*}"
done