diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -1,6 +1,8 @@ export BUILDTYPE ?= Release export BUILD_TEST ?= 1 export BUILD_RENDER ?= 1 +export BUILD_OFFLINE ?= 1 +export ENABLE_COVERAGE ?= 0 # Determine build platform ifeq ($(shell uname -s), Darwin) @@ -116,11 +118,15 @@ ifeq ($(BUILD),osx) xtest: ; $(RUN) HOST=osx HOST_VERSION=x86_64 Xcode/test endif -.PHONY: render xrender +.PHONY: check +check: ; $(RUN) BUILDTYPE=Debug ENABLE_COVERAGE=1 check +coveralls: ; $(RUN) BUILDTYPE=Debug ENABLE_COVERAGE=1 coveralls + +.PHONY: render render: ; $(RUN) Makefile/mbgl-render -ifeq ($(BUILD),osx) -xrender: ; $(RUN) HOST=osx HOST_VERSION=x86_64 Xcode/mbgl-render -endif + +.PHONY: offline +offline: ; $(RUN) Makefile/mbgl-offline ##### Maintenace operations #################################################### @@ -151,15 +157,10 @@ endif clean: clear_sqlite_cache clear_xcode_cache -find ./deps/gyp -name "*.pyc" -exec rm {} \; - -rm -rf ./build/ + -find ./build -type f -not -path '*/*.xcodeproj/*' -exec rm {} \; -rm -rf ./gyp/build/ - -rm -rf ./macosx/build - -rm -rf ./linux/build - -rm -rf ./ios/build - -rm -rf ./test/build -rm -rf ./config/*.gypi - -rm -rf ./platform/android/build \ - ./platform/android/MapboxGLAndroidSDK/build \ + -rm -rf ./platform/android/MapboxGLAndroidSDK/build \ ./platform/android/MapboxGLAndroidSDKTestApp/build \ ./platform/android/MapboxGLAndroidSDK/src/main/jniLibs \ ./platform/android/MapboxGLAndroidSDK/src/main/obj.target \ |