Sha256: b6bc21e0798d15a5e8731b14672d0b308111aba00f19f50e6425ff7872ec5b0f

Contents?: true

Size: 915 Bytes

Versions: 34

Compression:

Stored size: 915 Bytes

Contents

module Match
  class Setup
    def run(path)
      template = File.read("#{Match::ROOT}/lib/assets/MatchfileTemplate")

      UI.important "Please create a new, private git repository"
      UI.important "to store the certificates and profiles there"
      url = UI.input("URL of the Git Repo: ")

      template.gsub!("[[GIT_URL]]", url)
      File.write(path, template)
      UI.success "Successfully created '#{path}'. You can open the file using a code editor."

      UI.important "You can now run `fastlane match development`, `fastlane match adhoc` and `fastlane match appstore`"
      UI.message "On the first run for each environment it will create the provisioning profiles and"
      UI.message "certificates for you. From then on, it will automatically import the existing profiles."
      UI.message "For more information visit https://github.com/fastlane/fastlane/tree/master/match"
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
fastlane-2.19.3 match/lib/match/setup.rb
fastlane-2.20.0.beta.20170307010029 match/lib/match/setup.rb
fastlane-2.19.2 match/lib/match/setup.rb
fastlane-2.20.0.beta.20170306010752 match/lib/match/setup.rb
fastlane-2.20.0.beta.20170305010057 match/lib/match/setup.rb
fastlane-2.20.0.beta.20170304010023 match/lib/match/setup.rb
fastlane-2.20.0.beta.20170303010054 match/lib/match/setup.rb
fastlane-2.20.0.beta.20170302010029 match/lib/match/setup.rb
fastlane-2.19.1 match/lib/match/setup.rb
fastlane-2.19.0 match/lib/match/setup.rb
fastlane-2.19.0.beta.20170301010932 match/lib/match/setup.rb
fastlane-2.19.0.beta.20170228010016 match/lib/match/setup.rb
fastlane-2.19.0.beta.20170227010016 match/lib/match/setup.rb
fastlane-2.19.0.beta.20170226010028 match/lib/match/setup.rb
fastlane-2.19.0.beta.20170225010031 match/lib/match/setup.rb
fastlane-2.19.0.beta.20170224010025 match/lib/match/setup.rb
fastlane-2.18.3 match/lib/match/setup.rb
fastlane-2.19.0.beta.20170223010028 match/lib/match/setup.rb
fastlane-2.18.2 match/lib/match/setup.rb
fastlane-2.19.0.beta.20170222010016 match/lib/match/setup.rb