summaryrefslogtreecommitdiff
path: root/platform/ios/scripts/benchmark.sh
blob: 1c342e6533337aa1b39315b9f1248e0905c87206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"