Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios, osx] The return of xcpretty, part II
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Apr 3, 2016
1 parent a7b9a4f commit 585709b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions platform/ios/scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if [[ "${BUILD_FOR_DEVICE}" == true ]]; then
-project ./build/ios-all/gyp/mbgl.xcodeproj \
-configuration ${BUILDTYPE} \
-target everything \
-jobs ${JOBS}
-jobs ${JOBS} | xcpretty
fi

if [[ ${BUILD_DYNAMIC} == true ]]; then
Expand All @@ -111,7 +111,7 @@ if [[ "${BUILD_FOR_DEVICE}" == true ]]; then
-project ./build/ios-all/gyp/ios.xcodeproj \
-configuration ${BUILDTYPE} \
-target iossdk \
-jobs ${JOBS}
-jobs ${JOBS} | xcpretty
fi
fi

Expand All @@ -124,7 +124,7 @@ if [[ ${BUILD_STATIC} == true ]]; then
-project ./build/ios-all/gyp/mbgl.xcodeproj \
-configuration ${BUILDTYPE} \
-target everything \
-jobs ${JOBS}
-jobs ${JOBS} | xcpretty
fi

if [[ ${BUILD_DYNAMIC} == true ]]; then
Expand All @@ -138,7 +138,7 @@ if [[ ${BUILD_DYNAMIC} == true ]]; then
-project ./build/ios-all/gyp/ios.xcodeproj \
-configuration ${BUILDTYPE} \
-target iossdk \
-jobs ${JOBS}
-jobs ${JOBS} | xcpretty
fi

LIBS=(core.a platform-ios.a asset-fs.a http-nsurl.a)
Expand Down
4 changes: 2 additions & 2 deletions platform/ios/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ xcodebuild \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' \
-derivedDataPath ./build/ios/test \
build
build | xcpretty

ios-sim start
ios-sim launch ./build/ios/test/Build/Products/Debug-iphonesimulator/ios-test.app
Expand All @@ -23,4 +23,4 @@ xcodebuild \
-scheme 'Mapbox GL Tests' \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' \
test
test | xcpretty
2 changes: 1 addition & 1 deletion platform/osx/scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ xcodebuild -sdk macosx${OSX_SDK_VERSION} \
-project ./build/osx-x86_64/gyp/osx.xcodeproj \
-configuration ${BUILDTYPE} \
-target osxsdk \
-jobs ${JOBS}
-jobs ${JOBS} | xcpretty

TARGET_BUILD_DIR=gyp/build/${BUILDTYPE}
INFOPLIST_PATH=Mapbox.framework/Versions/Current/Resources/Info.plist
Expand Down
2 changes: 1 addition & 1 deletion platform/osx/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ xcodebuild -verbose \
-sdk macosx${OSX_SDK_VERSION} \
-project "${OSX_PROJ_PATH}" \
-scheme osxsdk \
test
test | xcpretty
4 changes: 2 additions & 2 deletions scripts/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Xcode/node: Xcode/__project__ node/xproj
-project ./build/binding.xcodeproj \
-configuration $(BUILDTYPE) \
-target mapbox-gl-native \
-jobs $(JOBS)
-jobs $(JOBS) | xcpretty

Xcode/%: Xcode/__project__
@printf "$(TEXT_BOLD)$(COLOR_GREEN)* Building target $*...$(FORMAT_END)\n"
Expand All @@ -142,7 +142,7 @@ Xcode/%: Xcode/__project__
-project ./build/$(HOST_SLUG)/gyp/$(HOST).xcodeproj \
-configuration $(BUILDTYPE) \
-target $* \
-jobs $(JOBS)
-jobs $(JOBS) | xcpretty

Ninja/%: Ninja/__project__
@printf "$(TEXT_BOLD)$(COLOR_GREEN)* Building target $*...$(FORMAT_END)\n"
Expand Down

0 comments on commit 585709b

Please sign in to comment.