Skip to content

Commit

Permalink
Create a simple lane to setup certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrocaselani committed Jul 2, 2019
1 parent 5ed3c6b commit 389380d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 8 additions & 3 deletions fastlane/Fastfile
Expand Up @@ -9,16 +9,21 @@ platform :ios do
secrets_param = branch == 'master' ? '' : 'empty'

sh("../scripts/generate_secrets #{secrets_param}", log: false)
sh('cd .. && tuist generate')

pods
# sh('cd .. && tuist generate')
# pods
end

desc 'Run bundle exec pod install --repo-update'
lane :pods do
cocoapods(podfile: '.', repo_update: false)
end

desc 'Setup Certificates'
lane :setup_certs do
match(type: 'development')
match(type: 'appstore')
end

desc 'Run CouchTrackerCore tests'
lane :tests do
run_tests_for_scheme(scheme: 'TVDBSwiftTests')
Expand Down
5 changes: 5 additions & 0 deletions fastlane/README.md
Expand Up @@ -21,6 +21,11 @@ or alternatively using `brew cask install fastlane`
fastlane ios pods
```
Run bundle exec pod install --repo-update
### ios setup_certs
```
fastlane ios setup_certs
```
Setup Certificates
### ios tests
```
fastlane ios tests
Expand Down

0 comments on commit 389380d

Please sign in to comment.