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.18.1 match/lib/match/setup.rb
fastlane-2.18.0 match/lib/match/setup.rb
fastlane-2.18.0.beta.20170221010026 match/lib/match/setup.rb
fastlane-2.18.0.beta.20170220010017 match/lib/match/setup.rb
fastlane-2.18.0.beta.20170219010032 match/lib/match/setup.rb
fastlane-2.18.0.beta.20170218010103 match/lib/match/setup.rb
fastlane-2.18.0.beta.20170217010035 match/lib/match/setup.rb
fastlane-2.18.0.beta.20170216184940 match/lib/match/setup.rb
fastlane-2.17.1 match/lib/match/setup.rb
fastlane-2.17.0 match/lib/match/setup.rb
fastlane-2.16.0 match/lib/match/setup.rb
fastlane-2.15.1 match/lib/match/setup.rb
fastlane-2.16.0.beta.20170214010051 match/lib/match/setup.rb
fastlane-2.15.0 match/lib/match/setup.rb