mirror of
https://github.com/caoer/analytics-ios-integration-firebase.git
synced 2026-06-19 06:26:08 +08:00
* Bumps Firebase to latest 4.0+, we were a major behind. * Fix build error, rm Podfile.lock, rm appIndexing(deprecated) * Update .travis.yml
23 lines
601 B
Makefile
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:
|