Sha256: 5c066ba2c8fccece0f827957afa3cc96741a02a3fe3109db94c958fb445b2510

Contents?: true

Size: 896 Bytes

Versions: 5

Compression:

Stored size: 896 Bytes

Contents

module Match
  class Setup
    def run(path)
      template = File.read("#{Helper.gem_path('match')}/lib/assets/MatchfileTemplate")

      UI.important "Please create a new, private git repository"
      UI.important "to store the certificates and profiles there"
      url = ask("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 `match development`, `match adhoc` and `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

5 entries across 5 versions & 1 rubygems

Version Path
match-0.6.2 lib/match/setup.rb
match-0.6.1 lib/match/setup.rb
match-0.6.0 lib/match/setup.rb
match-0.5.0 lib/match/setup.rb
match-0.4.0 lib/match/setup.rb