fastlane/lib/fastlane/fast_file.rb
# User defines a lane that can overwrite existing lanes. Useful when importing a Fastfile
User defines a lane that can overwrite existing lanes. Useful when importing a Fastfile
User defines a lane that can overwrite existing lanes . Useful when importing a Fastfile
def override_lane(lane_name, &block)
      UI.user_error!("You have to pass a block using 'do' for lane '#{lane_name}'. Make sure you read the docs on GitHub.") unless block
      self.runner.add_lane(Lane.new(platform: self.current_platform,
                                       block: block,
                                 description: desc_collection,
                                        name: lane_name,
                                  is_private: false), true)
      @desc_collection = nil 
    end
def override_lane ( lane_name , & block ) UI . user_error! ( "You have to pass a block using 'do' for lane '#{lane_name}'. Make sure you read the docs on GitHub." ) unless block self . runner . add_lane ( Lane . new ( platform : self . current_platform , block : block , description : desc_collection , name : lane_name , is_private : false ) , true ) @desc_collection = nil end
User defines a lane that can overwrite existing lanes.
User defines a lane that can overwrite existing lanes .
# reset the collected description again for the next lane
lane_name
<not_specific>
block
<not_specific>