Method: Fastlane::Setup#appfile_template_content

Defined in:
fastlane/lib/fastlane/setup/setup.rb

#appfile_template_contentObject



301
302
303
304
305
306
307
308
309
310
311
312
313
# File 'fastlane/lib/fastlane/setup/setup.rb', line 301

def appfile_template_content
  if self.platform == :ios
    if self.is_swift_fastfile
      path = "#{Fastlane::ROOT}/lib/assets/AppfileTemplate.swift"
    else
      path = "#{Fastlane::ROOT}/lib/assets/AppfileTemplate"
    end
  else
    path = "#{Fastlane::ROOT}/lib/assets/AppfileTemplateAndroid"
  end

  return File.read(path)
end