Skip to content

Commit 0e4ad0f

Browse files
committed
add script: install-gopackages
1 parent c9a3b96 commit 0e4ad0f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

install-gopackages

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
while read pkg; do
4+
# skip empty lines
5+
[[ -z "$pkg" ]] && continue
6+
7+
echo "installing go package: $pkg"
8+
go install "$pkg"
9+
done < "$HOME/.config/gopackages"

0 commit comments

Comments
 (0)