aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2017-07-04 13:13:30 +0300
committerSimon Hausmann <simon.hausmann@qt.io>2017-07-08 07:23:16 +0000
commit5f37f812f967295165e60ce9be8ec69ad059b81a (patch)
tree5881f738ca156ccdbbd82ced1205065c98af104e
parent0001d102f854707a7d2e6a73a542218712cd298e (diff)
Provision homebrew
Some of the macOS templates are cleaner than others and are mising some basic tools like 7z. Homebrew provides easy way to install wide range of tools via command line. Change-Id: I5a8528bb4a13ef9a72e2467c51a8b5d45f9a3d84 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rwxr-xr-xcoin/provisioning/common/homebrew.sh3
-rwxr-xr-xcoin/provisioning/qtci-osx-10.11-x86_64/025-homebrew.sh4
2 files changed, 7 insertions, 0 deletions
diff --git a/coin/provisioning/common/homebrew.sh b/coin/provisioning/common/homebrew.sh
new file mode 100755
index 00000000..a6efe123
--- /dev/null
+++ b/coin/provisioning/common/homebrew.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+# Will install homebrew package manager for macOS
+/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </dev/null
diff --git a/coin/provisioning/qtci-osx-10.11-x86_64/025-homebrew.sh b/coin/provisioning/qtci-osx-10.11-x86_64/025-homebrew.sh
new file mode 100755
index 00000000..63ec9b69
--- /dev/null
+++ b/coin/provisioning/qtci-osx-10.11-x86_64/025-homebrew.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+BASEDIR=$(dirname "$0")
+$BASEDIR/../common/homebrew.sh