Compare commits
1 Commits
master
...
feature/fa
| Author | SHA1 | Date |
|---|---|---|
|
|
d7eeb1af70 |
|
|
@ -131,12 +131,14 @@ private_lane :buildConfiguration do |options|
|
||||||
sync_code_signing_using_options(options)
|
sync_code_signing_using_options(options)
|
||||||
|
|
||||||
buildArchive(options) # check build failures and static analysis
|
buildArchive(options) # check build failures and static analysis
|
||||||
|
runTests(options)
|
||||||
end
|
end
|
||||||
|
|
||||||
if options[:uploadToFabric]
|
if options[:uploadToFabric]
|
||||||
sync_code_signing_using_options(options)
|
sync_code_signing_using_options(options)
|
||||||
addShield(options)
|
addShield(options)
|
||||||
buildArchive(options)
|
buildArchive(options)
|
||||||
|
runTests(options)
|
||||||
|
|
||||||
uploadToFirebase(options)
|
uploadToFirebase(options)
|
||||||
end
|
end
|
||||||
|
|
@ -148,6 +150,7 @@ private_lane :buildConfiguration do |options|
|
||||||
sync_code_signing_using_options(options)
|
sync_code_signing_using_options(options)
|
||||||
|
|
||||||
buildArchive(options)
|
buildArchive(options)
|
||||||
|
runTests(options)
|
||||||
upload_to_app_store_using_options(options)
|
upload_to_app_store_using_options(options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -184,6 +187,7 @@ private_lane :buildArchive do |options|
|
||||||
|
|
||||||
gym(
|
gym(
|
||||||
clean: true,
|
clean: true,
|
||||||
|
silent: true,
|
||||||
workspace: options[:workspace],
|
workspace: options[:workspace],
|
||||||
scheme: options[:scheme],
|
scheme: options[:scheme],
|
||||||
archive_path: "./",
|
archive_path: "./",
|
||||||
|
|
@ -198,6 +202,12 @@ private_lane :buildArchive do |options|
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private_lane :runTests do |options|
|
||||||
|
run_tests(
|
||||||
|
scheme: options[:scheme]
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
lane :CreatePushCertificate do |options|
|
lane :CreatePushCertificate do |options|
|
||||||
configuration = get_configuration_for_type(options[:type] || "development")
|
configuration = get_configuration_for_type(options[:type] || "development")
|
||||||
options = configuration.to_options.merge(options)
|
options = configuration.to_options.merge(options)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue