mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
596 B
Makefile
32 lines
596 B
Makefile
# Make sure we're failing even though we pipe to xcpretty
|
|
SHELL=/bin/bash -o pipefail -o errexit
|
|
|
|
WORKING_DIR = Example/TSKitiOSTestApp
|
|
SCHEME = TSKitiOSTestApp
|
|
|
|
XCODE_BUILD = xcrun xcodebuild -workspace $(SCHEME).xcworkspace -scheme $(SCHEME) -sdk iphonesimulator
|
|
|
|
.PHONY: build test retest clean
|
|
|
|
default: test
|
|
ci: test
|
|
|
|
test: dependencies test
|
|
|
|
dependencies:
|
|
cd $(WORKING_DIR) && \
|
|
bundle exec pod install
|
|
|
|
build: pod_install
|
|
cd $(WORKING_DIR) && \
|
|
$(XCODE_BUILD) build | xcpretty
|
|
|
|
test:
|
|
bundle exec fastlane scan
|
|
|
|
clean:
|
|
cd $(WORKING_DIR) && \
|
|
$(XCODE_BUILD) \
|
|
clean | xcpretty
|
|
|