summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-05-05 11:38:27 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-05-05 11:53:20 +0200
commit24083c582c7308025ed05285ad9e82696c70658a (patch)
treebd77e509ea403eafe2e604eff4d18f246fd165aa /scripts
parent691c305467c5d503719743e69f73bf28f20894d5 (diff)
downloadqtlocation-mapboxgl-24083c582c7308025ed05285ad9e82696c70658a.tar.gz
[iOS] add benchmarking application
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ios/benchmark.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/ios/benchmark.sh b/scripts/ios/benchmark.sh
new file mode 100755
index 0000000000..1c342e6533
--- /dev/null
+++ b/scripts/ios/benchmark.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+set -e
+set -o pipefail
+set -u
+
+if [ -z "$(which ios-deploy)" ] ; then
+ npm install -g ios-deploy
+fi
+
+(cd ios/benchmark/assets/tiles && ./download.sh)
+(cd ios/benchmark/assets/glyphs && ./download.sh)
+
+make ibench
+
+ios-deploy --debug --noninteractive --bundle "gyp/build/Release-iphoneos/Bench GL.app"