mirror of
https://github.com/modo-studio/SugarRecord.git
synced 2024-09-11 14:36:41 +03:00
[#293] Add fastlane lane that validates the Carthage setup
This commit is contained in:
parent
d42a01d90b
commit
4da475fbd9
@ -1,15 +1,21 @@
|
||||
COMMIT_MESSAGE = "Bump podspec to"
|
||||
|
||||
lane :pods do
|
||||
lane :dependencies do
|
||||
cocoapods(podfile: "Example/")
|
||||
carthage(command: "update")
|
||||
end
|
||||
|
||||
lane :tests do
|
||||
scan(workspace: "Example/SugarRecord.xcworkspace", scheme: "SugarRecord_Tests", device: "iPhone 6", skip_build: true)
|
||||
end
|
||||
|
||||
lane :carthage_project do
|
||||
carthage(command: "build", no_skip_current: true, verbose: true)
|
||||
end
|
||||
|
||||
lane :travis do
|
||||
pods
|
||||
dependencies
|
||||
carthage_project
|
||||
tests
|
||||
danger
|
||||
end
|
||||
|
@ -5,9 +5,9 @@ fastlane documentation
|
||||
sudo gem install fastlane
|
||||
```
|
||||
# Available Actions
|
||||
### pods
|
||||
### dependencies
|
||||
```
|
||||
fastlane pods
|
||||
fastlane dependencies
|
||||
```
|
||||
|
||||
### tests
|
||||
@ -15,6 +15,11 @@ fastlane pods
|
||||
fastlane tests
|
||||
```
|
||||
|
||||
### carthage_project
|
||||
```
|
||||
fastlane carthage_project
|
||||
```
|
||||
|
||||
### travis
|
||||
```
|
||||
fastlane travis
|
||||
|
Loading…
Reference in New Issue
Block a user