From f7f89cb44a2ed17be957bda70da7a8fc71634fc3 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 19 Feb 2016 16:46:47 -0800 Subject: [build] make clean shouldn't delete Xcode projects Fixes #2493 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5dc66d624f..498bb8a815 100644 --- a/Makefile +++ b/Makefile @@ -155,7 +155,7 @@ 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 ./config/*.gypi -rm -rf ./platform/android/MapboxGLAndroidSDK/build \ -- cgit v1.2.1