Sha256: a4f154b79fc6b63504d663c68041138231eb910cc7b0aabb9b81f431e969603f

Contents?: true

Size: 888 Bytes

Versions: 35

Compression:

Stored size: 888 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 `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

35 entries across 35 versions & 2 rubygems

Version Path
fastlane-2.15.0.beta.20170213032052 match/lib/match/setup.rb
fastlane-2.14.2 match/lib/match/setup.rb
fastlane-2.14.1 match/lib/match/setup.rb
fastlane-2.14.0 match/lib/match/setup.rb
fastlane-2.13.0 match/lib/match/setup.rb
fastlane-2.12.0 match/lib/match/setup.rb
fastlane-2.11.0 match/lib/match/setup.rb
fastlane-2.10.0 match/lib/match/setup.rb
fastlane-2.9.0 match/lib/match/setup.rb
fastlane-2.8.0 match/lib/match/setup.rb
fastlane-2.7.0 match/lib/match/setup.rb
fastlane-2.6.0 match/lib/match/setup.rb
fastlane-2.5.0 match/lib/match/setup.rb
fastlane-2.4.0 match/lib/match/setup.rb
fastlane-2.3.1 match/lib/match/setup.rb
fastlane-2.3.0 match/lib/match/setup.rb
fastlane-2.2.0 match/lib/match/setup.rb
fastlane-2.1.3 match/lib/match/setup.rb
fastlane-2.1.2 match/lib/match/setup.rb
fastlane-2.1.1 match/lib/match/setup.rb