Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fastlane init: snapshots directory is messed probably #32

Closed
artem-alexandrov opened this issue Feb 5, 2015 · 5 comments
Closed

Fastlane init: snapshots directory is messed probably #32

artem-alexandrov opened this issue Feb 5, 2015 · 5 comments

Comments

@artem-alexandrov
Copy link

I've had SnapFile setup properly before I decided to move to Fastlane.
on init step I've seen such lines:

Successfully created new Deliverfile at './fastlane//Deliverfile'
INFO [2015-02-05 17:08:43.24]: The 'screenshots' folder inside the 'deliver' folder will not be used.
INFO [2015-02-05 17:08:43.24]: Instead the 'screenshots' folder inside the 'fastlane' folder will be used.
INFO [2015-02-05 17:08:43.24]: Click Enter to confirm

But I've found that snapshots directory remains ./deliver/snapshots instead of .snapshots when I open Deliverfile.

I'm not sure whenever it is a bug or not, but looks like this line should be changed.

@KrauseFx
Copy link
Member

KrauseFx commented Feb 5, 2015

Can you please share your Snapfile?

@artem-alexandrov
Copy link
Author

# Uncomment the lines below you want to change by removing the # in the beginning

# A list of devices you want to take the screenshots from
devices([
  "iPhone 6",
  "iPhone 6 Plus",
  "iPhone 5",
  "iPhone 4s",
  "iPad Air"
])

languages([
  'en-US'
])

# Where should the resulting screenshots be stored?
screenshots_path "./screenshots"

clear_previous_screenshots # remove the '#'' to clear all previously generated screenshots before creating new ones

# JavaScript UIAutomation file
js_file './snapshot.js'

# The name of the project's scheme
scheme 'Application'

# Where is your project (or workspace)? Provide the full path here
#project_path '../NIXProject.xcworkspace'

# By default, the latest version should be used automatically. If you want to change it, do it here
# ios_version '8.1'

# Custom Callbacks

# setup_for_device_change do |device| 
#   puts "Preparing device: #{device}"
# end

# setup_for_language_change do |lang, device|
#   puts "Running #{lang} on #{device}"
#   system("./popuplateDatabase.sh")
# end

# teardown_language do |lang, device|
#   puts "Finished with #{lang} on #{device}"
# end

# teardown_device do |device|
#   puts "Cleaning device #{device}"
#   system("./cleanup.sh")
# end

@KrauseFx
Copy link
Member

KrauseFx commented Feb 5, 2015

Thanks, fixed with a5914ff

@KrauseFx KrauseFx closed this as completed Feb 5, 2015
@artem-alexandrov
Copy link
Author

Man, you are awesome!

@KrauseFx
Copy link
Member

KrauseFx commented Feb 5, 2015

Hehe, thanks 😄 Also, really appreciate letting me know, there are so many things changing so fast, it's easy to forget something.

KrauseFx pushed a commit that referenced this issue Mar 7, 2016
KrauseFx pushed a commit that referenced this issue Mar 7, 2016
@fastlane fastlane locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants