Class: Fastlane::Cryptex::Setup
- Inherits:
-
Object
- Object
- Fastlane::Cryptex::Setup
- Defined in:
- lib/fastlane/plugin/cryptex/setup.rb
Instance Method Summary collapse
Instance Method Details
#run(path) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fastlane/plugin/cryptex/setup.rb', line 4 def run(path) template = File.read("#{Cryptex::ROOT}/assets/CryptexfileTemplate") 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." end |