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.
		
		
		
		
		
			
		
			
				
	
	
		
			38 lines
		
	
	
		
			700 B
		
	
	
	
		
			Makefile
		
	
			
		
		
	
	
			38 lines
		
	
	
		
			700 B
		
	
	
	
		
			Makefile
		
	
# Make sure we're failing even though we pipe to xcpretty
 | 
						|
SHELL=/bin/bash -o pipefail -o errexit
 | 
						|
 | 
						|
WORKING_DIR = ./
 | 
						|
SCHEME = Signal
 | 
						|
 | 
						|
.PHONY: build test retest clean dependencies
 | 
						|
 | 
						|
default: test
 | 
						|
 | 
						|
ci: dependencies test
 | 
						|
	cd SignalServiceKit && make ci
 | 
						|
 | 
						|
update_dependencies:
 | 
						|
	bundle exec pod update
 | 
						|
	carthage update --platform iOS
 | 
						|
 | 
						|
dependencies:
 | 
						|
	cd $(WORKING_DIR) && \
 | 
						|
		git submodule update --init
 | 
						|
		bundle exec pod install
 | 
						|
		carthage build --platform iOS
 | 
						|
 | 
						|
build: dependencies
 | 
						|
	cd $(WORKING_DIR) && \
 | 
						|
		$(XCODE_BUILD) build | xcpretty
 | 
						|
 | 
						|
test:
 | 
						|
	bundle exec fastlane scan
 | 
						|
	cd SignalServiceKit && make test
 | 
						|
 | 
						|
clean:
 | 
						|
	cd $(WORKING_DIR) && \
 | 
						|
		rm -fr Carthage/Build && \
 | 
						|
		$(XCODE_BUILD) \
 | 
						|
			clean | xcpretty
 | 
						|
 |