Files
Ladan Nasserian eab2e0446e Update dependencies(#7)
* Bumps Firebase to latest 4.0+, we were a major behind.
* Fix build error, rm Podfile.lock, rm appIndexing(deprecated)
* Update .travis.yml
2017-09-02 13:28:50 -07:00

23 lines
601 B
Makefile

XCPRETTY := xcpretty -c && exit ${PIPESTATUS[0]}
SDK ?= "iphonesimulator"
DESTINATION ?= "platform=iOS Simulator,name=iPhone 5"
PROJECT := Segment-Firebase
XC_ARGS := -scheme $(PROJECT)-Example -workspace Example/$(PROJECT).xcworkspace -sdk $(SDK) -destination $(DESTINATION) ONLY_ACTIVE_ARCH=NO
install: Example/Podfile Segment-Firebase.podspec
pod repo update
pod install --project-directory=Example
clean:
xcodebuild $(XC_ARGS) clean | $(XCPRETTY)
build:
xcodebuild $(XC_ARGS) | $(XCPRETTY)
test:
xcodebuild test $(XC_ARGS) | $(XCPRETTY)
.PHONY: test build xctest xcbuild clean
.SILENT: