|
|
@@ -38,24 +38,24 @@ script:
|
|
|
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
|
|
|
fi
|
|
|
|
|
|
- # Build Framework in ReleaseTest and Run Tests if specified
|
|
|
- - if [ $RUN_TESTS == "YES" ]; then
|
|
|
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration ReleaseTest ONLY_ACTIVE_ARCH=NO test | xcpretty -c;
|
|
|
- else
|
|
|
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration ReleaseTest ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
|
|
|
- fi
|
|
|
-
|
|
|
- # Build Example in Debug if specified
|
|
|
- - if [ $BUILD_EXAMPLE == "YES" ]; then
|
|
|
- xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
|
|
|
- fi
|
|
|
-
|
|
|
- # Build Example in Release if specified
|
|
|
- - if [ $BUILD_EXAMPLE == "YES" ]; then
|
|
|
- xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
|
|
|
- fi
|
|
|
-
|
|
|
- # Run `pod lib lint` if specified
|
|
|
- - if [ $POD_LINT == "YES" ]; then
|
|
|
- pod lib lint;
|
|
|
- fi
|
|
|
+ # # Build Framework in ReleaseTest and Run Tests if specified
|
|
|
+ # - if [ $RUN_TESTS == "YES" ]; then
|
|
|
+ # xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration ReleaseTest ONLY_ACTIVE_ARCH=NO test | xcpretty -c;
|
|
|
+ # else
|
|
|
+ # xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration ReleaseTest ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
|
|
|
+ # fi
|
|
|
+ #
|
|
|
+ # # Build Example in Debug if specified
|
|
|
+ # - if [ $BUILD_EXAMPLE == "YES" ]; then
|
|
|
+ # xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
|
|
|
+ # fi
|
|
|
+ #
|
|
|
+ # # Build Example in Release if specified
|
|
|
+ # - if [ $BUILD_EXAMPLE == "YES" ]; then
|
|
|
+ # xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
|
|
|
+ # fi
|
|
|
+ #
|
|
|
+ # # Run `pod lib lint` if specified
|
|
|
+ # - if [ $POD_LINT == "YES" ]; then
|
|
|
+ # pod lib lint;
|
|
|
+ # fi
|