mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-07 01:45:32 +00:00
Added Example Ruby Files
This commit is contained in:
26
samples/Ruby/filenames/Snapfile
Normal file
26
samples/Ruby/filenames/Snapfile
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
# 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'
|
||||
Reference in New Issue
Block a user