forked from BatchLabs/Batch-iOS-mixpanel-swift-dispatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
22 lines (15 loc) · 709 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: framework
PROJECT=BatchMixpanelSwiftDispatcher.xcodeproj
SIMULATOR='platform=iOS Simulator,name=iPhone 12'
DERIVED_DATA=$(CURDIR)/DerivedData
clean:
rm -rf $(DERIVED_DATA) $(SONAR_WORKDIR)
set -o pipefail && xcodebuild clean -project $(PROJECT) -scheme BatchMixpanelSwiftDispatcher | xcpretty
framework: clean
set -o pipefail && xcodebuild build -project $(PROJECT) -scheme BatchMixpanelSwiftDispatcher -destination generic/platform=iOS | xcpretty
test: clean
set -o pipefail && xcodebuild test -project $(PROJECT) -scheme BatchMixpanelSwiftDispatcher -destination $(SIMULATOR) | xcpretty
carthage:
carthage bootstrap --platform ios --use-xcframeworks
ci: carthage test
.PHONY: carthage test