Fastlane: When I run "fastlane" without any parameter, I receive all available lanes, including the private lanes.

Created on 14 May 2016  路  3Comments  路  Source: fastlane/fastlane

fastlane 1.89.0

Hi! The first thing i wanna say is: This tools is amazing :)
After that, i explain my situation:

  • I have one Fastfile with a Generic File that contains some private lanes
  • When I run "fastlane" without any parameter, I receive all available lanes, including the private lanes.
  • If I select one lane marked as private, i receive an error:
[01:00:23]: Welcome to fastlane! Here's what your app is setup to do:
+--------+--------------------------+------------------------------+
|                      Available lanes to run                      |
+--------+--------------------------+------------------------------+
| Number | Lane Name                | Description                  |
+--------+--------------------------+------------------------------+
| 1      | ios prepare_to_build     |                              |
| 2      | ios launch_build         |                              |
| 3      | ios generate_all_builds  |                              |
| 4      | ios run_job              |                              |
| 5      | ios check_build          |                              |
| 6      | ios resolve_dependencies |                              |
| 7      | ios do_snapshot          |                              |
| 8      | ios do_release           |                              |
| 0      | cancel                   | No selection, exit fastlane! |
+--------+--------------------------+------------------------------+
Which number would you like run?
4
[01:00:25]: Running lane `ios run_job`. Next time you can do this by directly typing `fastlane ios run_job` 馃殌.
[01:00:26]: Variable Dump:
[01:00:26]: {:DEFAULT_PLATFORM=>:ios}
[01:00:26]: You can't call the private lane 'run_job' directly

Is this an error or is intentional? For what reason all private lanes are listed if I can not run directly?

Thank you!

fastlane bug

All 3 comments

Hey @sebastianvarela, thanks for the report, that's not by design, and definitely something we should fix! Thanks for the precise description of the issue 馃憤

Submitted a PR for this 馃憤

@asfalcone, @KrauseFx Thank you! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bolom picture bolom  路  3Comments

lam2558 picture lam2558  路  3Comments

tattva20 picture tattva20  路  3Comments

kevinthecity picture kevinthecity  路  3Comments

fastlane-bot-helper picture fastlane-bot-helper  路  3Comments