aboutsummaryrefslogblamecommitdiff
path: root/tests/checks/homebrew.sh
blob: ba33be80cc58bf07f3bf161c4090ed2afdec899b (plain) (tree)
1
2
3
4


              
                             





















                                                                 
#!/bin/sh

# Load brew(1)
# shellcheck source=/dev/null
. ~/.profile
set -eu
set -x


REPO="$1"

if command -v remembering; then
	echo 'remembering(1) is already installed.' >&2
	exit 1
fi

if brew info remembering; then
	echo 'remembering(1) is already in the list of taps.' >&2
	exit 1
fi

brew tap org/euandre "$REPO"
brew install remembering-0-1-2

remembering --help
remembering -V