build with fastlane

This commit is contained in:
ivan grachev 2024-05-17 20:04:26 +03:00
parent d96db0b40c
commit 7a9da1ecf6

View File

@ -21,4 +21,34 @@ lane :deliver_all do
run_precheck_before_submit: false,
)
end
end
default_platform(:mac)
platform :mac do
lane :build do
gym(scheme: "Wallet", output_directory: "fastlane/build", clean: true)
end
lane :release do
build
# deliver # https://docs.fastlane.tools/actions/upload_to_app_store/ # todo
end
lane :dev do
gym(
scheme: "Wallet",
output_directory: "fastlane/build",
configuration: "Debug",
clean: false,
skip_archive: true,
silent: true,
skip_package_dependencies_resolution: true,
disable_package_automatic_updates: true,
xcodebuild_formatter: '',
)
sh "open #{File.expand_path('build/Wallet.app')}"
end
end