-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (16 loc) · 646 Bytes
/
Makefile
File metadata and controls
22 lines (16 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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