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.
		
		
		
		
		
			
		
			
				
	
	
		
			25 lines
		
	
	
		
			541 B
		
	
	
	
		
			Makefile
		
	
			
		
		
	
	
			25 lines
		
	
	
		
			541 B
		
	
	
	
		
			Makefile
		
	
# Make sure we're failing even though we pipe to xcpretty
 | 
						|
SHELL=/bin/bash -o pipefail
 | 
						|
 | 
						|
BUILD_PLATFORM=iOS Simulator,name=iPhone 6,OS=10.0
 | 
						|
WORKING_DIR = ./
 | 
						|
 | 
						|
default: test
 | 
						|
 | 
						|
build_signal:
 | 
						|
	cd $(WORKING_DIR) && \
 | 
						|
		pod install && \
 | 
						|
		xcodebuild -workspace Signal.xcworkspace -scheme Signal \
 | 
						|
		-sdk iphonesimulator \
 | 
						|
		build | xcpretty
 | 
						|
 | 
						|
retest:
 | 
						|
	cd $(WORKING_DIR) && \
 | 
						|
	xcodebuild -workspace Signal.xcworkspace -scheme Signal \
 | 
						|
		-sdk iphonesimulator \
 | 
						|
		-destination 'platform=${BUILD_PLATFORM}' \
 | 
						|
		test | xcpretty
 | 
						|
 | 
						|
test: build_signal retest
 | 
						|
 |