summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/get.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index cb81948f9..b4221f87a 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -3,6 +3,7 @@
# xmake getter
# usage: bash <(curl -s <my location>) [branch]
+brew --version >/dev/null 2>&1 && brew install --HEAD xmake && xmake --version && exit
if [ 0 -ne $(id -u) ]
then
sudoprefix=sudo