fastlane-old / scan

The easiest way to run tests of your iOS and Mac app
https://fastlane.tools
221 stars 25 forks source link

Try loading the Scanfile from the current directory #66

Closed alexcristea closed 8 years ago

alexcristea commented 8 years ago

This pull request fixes a behaviour related to issue #42

mfurtak commented 8 years ago

@KrauseFx Is there anything we should be concerned about with regard to possibly loading two Scanfiles in one run? Is there any precedent for other tools to check multiple locations for the configuration?

alexcristea commented 8 years ago

@mfurtak, since I'm not very familiar with the ruby language, I was inspired by how snapshot is detecting configuration values: snapshot/detect_values.rb

KrauseFx commented 8 years ago

This should work, it's already the case in snapshot. Actually we should add this to all projects that require a project, meaning gym as well

mfurtak commented 8 years ago

@alexcristea @KrauseFx Excellent, thanks for that context :+1:

It would definitely be good to have a shared mechanism that automates the configuration search locations for consistency across all tools.

mfurtak commented 8 years ago

@alexcristea Thanks for the contribution :tada: