mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			556 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			556 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
 | 
						|
# Download the latest screenshot information from the CMS
 | 
						|
app_id = Dir.pwd.split("/")[-2].to_i
 | 
						|
File.write("./screenshots.json", open("https://...amazonaws.com/1.0/#{app_id}/....json").read) rescue nil
 | 
						|
 | 
						|
 | 
						|
# A list of devices you want to take the screenshots from
 | 
						|
devices([
 | 
						|
  "iPhone 6",
 | 
						|
  "iPhone 6 Plus",
 | 
						|
  "iPhone 5",
 | 
						|
  "iPhone 4s"
 | 
						|
])
 | 
						|
 | 
						|
languages([
 | 
						|
  'de-DE'
 | 
						|
])
 | 
						|
 | 
						|
# Where should the resulting screenshots be stored?
 | 
						|
screenshots_path "./screenshots"
 | 
						|
 | 
						|
# JavaScript UIAutomation file
 | 
						|
js_file './snapshot.js'
 | 
						|
 | 
						|
# The name of the project's scheme
 | 
						|
scheme 'Release' |