aboutsummaryrefslogtreecommitdiff
path: root/tests/checks/homebrew.sh
blob: ba33be80cc58bf07f3bf161c4090ed2afdec899b (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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