summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-05-24 10:59:04 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-05-25 21:37:17 -0700
commit2846e2a42441d4b926533c0d0b47c399df3862b0 (patch)
treeaf82157e077a1b7cdc859998e7941b31f65e5e68 /Makefile
parent485a644d3208582238ae579c28747157a50ebf63 (diff)
downloadqtlocation-mapboxgl-2846e2a42441d4b926533c0d0b47c399df3862b0.tar.gz
[build] Move express dependency to package.json
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 05af588bca..5cf0efa4ee 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ xproj: $(OSX_PROJ_PATH) $(OSX_WORK_PATH)
cp platform/osx/WorkspaceSettings.xcsettings "$(OSX_USER_DATA_PATH)/WorkspaceSettings.xcsettings"
open $(OSX_WORK_PATH)
-test-osx: osx node_modules/express
+test-osx: osx node_modules
ulimit -c unlimited && ($(OSX_OUTPUT_PATH)/Build/Products/$(BUILDTYPE)/test & pid=$$! && wait $$pid \
|| (lldb -c /cores/core.$$pid --batch --one-line 'thread backtrace all' --one-line 'quit' && exit 1))
set -o pipefail && xcodebuild \
@@ -227,7 +227,7 @@ qt-app: $(QT_MAKEFILE)
qt-qml-app: $(QT_MAKEFILE)
$(QT_ENV) $(MAKE) -j$(JOBS) -C $(QT_OUTPUT_PATH) qt-qml-app
-test-qt: $(QT_MAKEFILE) node_modules/express
+test-qt: $(QT_MAKEFILE) node_modules
$(QT_ENV) $(MAKE) -j$(JOBS) -C $(QT_OUTPUT_PATH) test
$(GDB) $(QT_OUTPUT_PATH)/$(BUILDTYPE)/test --gtest_catch_exceptions=0 --gtest_filter=*
@@ -251,7 +251,7 @@ $(LINUX_MAKEFILE): platform/linux/platform.gyp $(LINUX_OUTPUT_PATH)/config.gypi
linux: glfw-app render offline
-test-linux: test-*
+test-linux: node_modules test-*
render: $(LINUX_MAKEFILE)
$(MAKE) -j$(JOBS) -C $(LINUX_OUTPUT_PATH) mbgl-render
@@ -275,12 +275,9 @@ ifneq (,$(shell which gdb))
GDB = gdb -batch -return-child-result -ex 'set print thread-events off' -ex 'run' -ex 'thread apply all bt' --args
endif
-test-%: node_modules/express test
+test-%: test
$(GDB) $(LINUX_OUTPUT_PATH)/$(BUILDTYPE)/test --gtest_catch_exceptions=0 --gtest_filter=$*
-node_modules/express:
- npm install express@4.11.1
-
check: test
scripts/collect-coverage.sh $(LINUX_OUTPUT_PATH)/$(BUILDTYPE)