summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-07-06 16:40:04 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-07-06 21:27:40 +0300
commit9ba3dc92494791fb41b6f20fe11ddd950f381a5f (patch)
tree0de7cefa86e0af978fb810d3aedc77fc2fb173c7 /Makefile
parentd5fbcb242acff2ab270b4018b01c2c6be9c4955f (diff)
downloadqtlocation-mapboxgl-9ba3dc92494791fb41b6f20fe11ddd950f381a5f.tar.gz
[build] add node-benchmark target and xcode scheme
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f694d19b52..3a710a1cc1 100644
--- a/Makefile
+++ b/Makefile
@@ -108,6 +108,14 @@ run-benchmark: run-benchmark-.
run-benchmark-%: benchmark
$(MACOS_OUTPUT_PATH)/$(BUILDTYPE)/mbgl-benchmark --benchmark_filter=$*
+.PHONY: node-benchmark
+node-benchmark: $(MACOS_PROJ_PATH)
+ set -o pipefail && $(MACOS_XCODEBUILD) -scheme 'node-benchmark' build $(XCPRETTY)
+
+.PHONY: run-node-benchmark
+run-node-benchmark: node-benchmark
+ node platform/node/test/benchmark.js
+
.PHONY: glfw-app
glfw-app: $(MACOS_PROJ_PATH)
set -o pipefail && $(MACOS_XCODEBUILD) -scheme 'mbgl-glfw' build $(XCPRETTY)