mirror of
https://github.com/caoer/analytics-ios-integration-firebase.git
synced 2026-01-12 22:44:00 +08:00
23 lines
646 B
Makefile
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
|