mirror of https://github.com/sobolevn/git-secret
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
427 B
Bash
23 lines
427 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
# Mac:
|
|
if [[ "$GITSECRET_DIST" == "brew" ]]; then
|
|
brew update
|
|
|
|
gnupg_installed="$(brew list | grep -c "gnupg")"
|
|
[[ "$gnupg_installed" -ge 1 ]] || brew install gnupg
|
|
if [[ -f "/usr/local/bin/gpg1" ]]; then
|
|
ln -s /usr/local/bin/gpg1 /usr/local/bin/gpg
|
|
fi
|
|
brew install gawk shellcheck
|
|
fi
|
|
|
|
# Windows
|
|
if [[ "$GITSECRET_DIST" == "windows" ]]; then
|
|
choco install make shellcheck -y
|
|
fi
|
|
|