k
This commit is contained in:
15
homebrew.sh
Normal file
15
homebrew.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#! /bin/bash
|
||||
|
||||
if ! which tpl; then
|
||||
go install github.com/bluebrown/go-template-cli/cmd/tpl@latest
|
||||
fi &> /dev/null
|
||||
if ! which gojq; then
|
||||
go install github.com/itchyny/gojq@latest
|
||||
fi &> /dev/null
|
||||
|
||||
while sleep 1; do
|
||||
clear
|
||||
cat ./homebrew.yaml \
|
||||
| gojq --yaml-input . \
|
||||
| tpl --file homebrew.tmpl
|
||||
done
|
||||
Reference in New Issue
Block a user