From b3ccc398cfd30ad9e243a041933204ea2e567535 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 22 Mar 2023 12:11:24 -0300 Subject: Support Homebrew --- tests/checks/homebrew.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 tests/checks/homebrew.sh (limited to 'tests/checks/homebrew.sh') diff --git a/tests/checks/homebrew.sh b/tests/checks/homebrew.sh new file mode 100755 index 0000000..2104359 --- /dev/null +++ b/tests/checks/homebrew.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +# Load brew(1) +. ~/.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 -- cgit v1.2.3