summaryrefslogtreecommitdiff
path: root/platform/osx/scripts/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'platform/osx/scripts/run.sh')
-rwxr-xr-xplatform/osx/scripts/run.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/platform/osx/scripts/run.sh b/platform/osx/scripts/run.sh
new file mode 100755
index 0000000000..dcb83e2902
--- /dev/null
+++ b/platform/osx/scripts/run.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+
+set -e
+set -o pipefail
+
+source ./platform/osx/scripts/setup.sh
+
+BUILDTYPE=${BUILDTYPE:-Release}
+
+################################################################################
+# Build
+################################################################################
+
+mapbox_time "compile_program" \
+make xosx -j${JOBS} BUILDTYPE=${BUILDTYPE}
+
+mapbox_time "compile_render_binary" \
+make xrender -j${JOBS} BUILDTYPE=${BUILDTYPE}
+
+mapbox_time "compile_tests" \
+make xtest -j${JOBS} BUILDTYPE=${BUILDTYPE}