File tree Expand file tree Collapse file tree 3 files changed +28
-8
lines changed
Expand file tree Collapse file tree 3 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 1- XCPRETTY := xcpretty -c && exit ${PIPESTATUS[0]}
2-
31SDK ?= "iphonesimulator"
4- DESTINATION ?= "platform=iOS Simulator,name=iPhone 5 "
2+ DESTINATION ?= "platform=iOS Simulator,name=iPhone 7 "
53PROJECT := Segment-Amplitude
64XC_ARGS := -scheme $(PROJECT ) _Example -workspace Example/$(PROJECT ) .xcworkspace -sdk $(SDK ) -destination $(DESTINATION ) ONLY_ACTIVE_ARCH=NO
75
86install : Example/Podfile $(PROJECT ) .podspec
97 pod repo update
108 pod install --project-directory=Example
119
10+ lint :
11+ pod lib lint
12+
1213clean :
13- xcodebuild $(XC_ARGS ) clean | $( XCPRETTY )
14+ set -o pipefail && xcodebuild $(XC_ARGS ) clean | xcpretty
1415
1516build :
16- xcodebuild $(XC_ARGS ) | $( XCPRETTY )
17+ set -o pipefail && xcodebuild $(XC_ARGS ) | xcpretty
1718
1819test :
19- xcodebuild test $(XC_ARGS ) | $( XCPRETTY )
20+ set -o pipefail && xcodebuild test $(XC_ARGS ) | xcpretty --report junit
2021
21- .PHONY : test build xctest xcbuild clean
22- .SILENT :
22+ .PHONY : install clean build test
Original file line number Diff line number Diff line change 11# Analytics
22
3+ [ ![ CircleCI] ( https://circleci.com/gh/segment-integrations/analytics-ios-integration-amplitude.svg?style=svg )] ( https://circleci.com/gh/segment-integrations/analytics-ios-integration-amplitude )
34[ ![ Version] ( https://img.shields.io/cocoapods/v/Segment-Amplitude.svg?style=flat )] ( http://cocoapods.org/pods/Segment-Amplitude )
45[ ![ License] ( https://img.shields.io/cocoapods/l/Segment-Amplitude.svg?style=flat )] ( http://cocoapods.org/pods/Segment-Amplitude )
56
Original file line number Diff line number Diff line change 1+ machine :
2+ xcode :
3+ version : " 8.2"
4+
5+ dependencies :
6+ pre :
7+ - gem install xcpretty
8+ - gem install cocoapods -v 1.3.1
9+ override :
10+ - make install
11+ cache_directories :
12+ - Example/Pods
13+ - ~/.cocoapods
14+
15+ test :
16+ override :
17+ - make build
18+ - make test
19+ - make lint
You can’t perform that action at this time.
0 commit comments