Files
analytics-ios-integration-f…/Makefile
Ladan Nasserian 14eb8ac16a Adds subspec workaround. (#23)
* Adds subspec workaround.
2018-04-02 15:01:01 -07:00

23 lines
646 B
Makefile

SDK ?= "iphonesimulator"
DESTINATION ?= "platform=iOS Simulator,name=iPhone 7"
PROJECT := Segment-Firebase
XC_ARGS := -scheme $(PROJECT)-Example -workspace Example/$(PROJECT).xcworkspace -sdk $(SDK) -destination $(DESTINATION) ONLY_ACTIVE_ARCH=NO
install: Example/Podfile $(PROJECT).podspec
pod repo update
pod install --project-directory=Example
lint:
pod lib lint --use-libraries --allow-warnings
clean:
set -o pipefail && xcodebuild $(XC_ARGS) clean | xcpretty
build:
set -o pipefail && xcodebuild $(XC_ARGS) | xcpretty
test:
set -o pipefail && xcodebuild test $(XC_ARGS) | xcpretty --report junit
.PHONY: clean install build test