This commit is contained in:
Sharad Agarwal 2017-10-10 16:37:07 -07:00
Родитель 8a86b3809b
Коммит 669aaf74e6
2 изменённых файлов: 27 добавлений и 28 удалений

Просмотреть файл

@ -1,35 +1,34 @@
##### Install pods ######
desc "Install pod dependencies"
lane :install_pods do
cocoapods
end
##### Setup ######
desc "Install pod dependencies"
lane :install_pods do
cocoapods
end
# Test
desc "Runs unit tests"
lane :unit_tests do |params|
ENV['FASTLANE_XCODE_LIST_TIMEOUT'] = '1800'
ENV['FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT'] = '1800'
scan(
##### Test ######
desc "Runs unit tests"
lane :unit_tests do |params|
ENV['FASTLANE_XCODE_LIST_TIMEOUT'] = '1800'
ENV['FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT'] = '1800'
scan(
scheme: "EmbeddedSocial",
device: "iPhone 7 (10.3)"
)
end
)
end
# Build
##### Build ######
desc "Builds the app"
lane :build_app do
gym(
scheme: "EmbeddedSocial-Example",
configuration: "Debug",
export_method: "development",
clean: true
)
gym(
scheme: "EmbeddedSocial-Example",
configuration: "Debug",
export_method: "development",
clean: true
)
end
#Launch
##### Launch ######
lane :launch do
install_pods
unit_tests
build_app
end
install_pods
unit_tests
build_app
end

Просмотреть файл

@ -43,7 +43,7 @@ Runs unit tests
```
fastlane build_app
```
Builds the app
### launch
```
fastlane launch