Grouping stuff
This commit is contained in:
1 parent
b90cf92fb5
commit
832fa5ee30
30 files changed
+120
-37
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ${DOTFILES}/helpers.sh
|
||||
|
||||
function main()
|
||||
{
|
||||
local scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||
|
||||
${scriptdir}/setup_homebrew.sh
|
||||
|
||||
caskget google-chrome
|
||||
caskget docker
|
||||
|
||||
}
|
||||
|
||||
main "$@"
|
||||
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ${DOTFILES}/helpers.sh
|
||||
|
||||
function main()
|
||||
{
|
||||
print_info "Setting up homebrew"
|
||||
|
||||
if ! which brew>/dev/null; then
|
||||
echo "Installing Homebrew"
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
|
||||
if ! brew tap | grep caskroom/cask >/dev/null; then
|
||||
echo "Installing caskroom tap"
|
||||
brew tap caskroom/cask
|
||||
fi
|
||||
|
||||
print_ok "Homebrew insalled"
|
||||
}
|
||||
|
||||
main "$@"
|
||||
Reference in new issue
Block a user