From 068c4320bb41bf00312c5cf23b2249ef9a0296d7 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Thu, 22 Sep 2022 11:52:07 +0200 Subject: [PATCH] Added scripts for OS X --- scripts/homebrew.install.bash | 6 ++++++ scripts/osx.xcode-install.zsh | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100755 scripts/homebrew.install.bash create mode 100755 scripts/osx.xcode-install.zsh diff --git a/scripts/homebrew.install.bash b/scripts/homebrew.install.bash new file mode 100755 index 0000000..50d8038 --- /dev/null +++ b/scripts/homebrew.install.bash @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# sources: +# - http://rapidprogrammer.com/how-to-install-homebrew-with-ansible + +yes | bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" diff --git a/scripts/osx.xcode-install.zsh b/scripts/osx.xcode-install.zsh new file mode 100755 index 0000000..7143918 --- /dev/null +++ b/scripts/osx.xcode-install.zsh @@ -0,0 +1,6 @@ +#!/bin/zsh + +if ! [[ -d "$(xcode-select -p)" ]]; +then + xcode-select --install +fi