feat: add mac support with homebrew
This commit is contained in:
parent
0466b87b84
commit
13aefb37d8
6 changed files with 13 additions and 0 deletions
7
handlers.available.mac
Normal file
7
handlers.available.mac
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
bash
|
||||||
|
zsh
|
||||||
|
make
|
||||||
|
git
|
||||||
|
binary
|
||||||
|
npm
|
||||||
|
nix
|
2
handlers/homebrew/install
Executable file
2
handlers/homebrew/install
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
brew install "$@"
|
1
instalee
1
instalee
|
@ -193,6 +193,7 @@ if ! test -f "$handlersfile"
|
||||||
then
|
then
|
||||||
copy="$(case "$(uname)" in
|
copy="$(case "$(uname)" in
|
||||||
(MINGW64*) echo "$dir_home/handlers.available.windows";;
|
(MINGW64*) echo "$dir_home/handlers.available.windows";;
|
||||||
|
(DARWIN) echo "$dir_home/handlers.available.mac";;
|
||||||
(*) ls "$dir_home/$({ cat /etc/os-release | grep -E '^ID(_LIKE)?=' | cut -d= -f2 | grep . || lsb_release -s -i | tr 'A-Z' 'a-z'; } |
|
(*) ls "$dir_home/$({ cat /etc/os-release | grep -E '^ID(_LIKE)?=' | cut -d= -f2 | grep . || lsb_release -s -i | tr 'A-Z' 'a-z'; } |
|
||||||
sed 's/^/handlers.available./' | paste -d' ' -s)" 2>/dev/null | head -1;;
|
sed 's/^/handlers.available./' | paste -d' ' -s)" 2>/dev/null | head -1;;
|
||||||
esac)" &&
|
esac)" &&
|
||||||
|
|
0
packages/git-lfs/homebrew
Normal file
0
packages/git-lfs/homebrew
Normal file
0
packages/git/homebrew
Normal file
0
packages/git/homebrew
Normal file
3
packages/homebrew/bash
Normal file
3
packages/homebrew/bash
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# https://brew.sh
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
Loading…
Add table
Reference in a new issue