Fastfile 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # Customise this file, documentation can be found here:
  2. # https://github.com/fastlane/fastlane/tree/master/fastlane/docs
  3. # All available actions: https://docs.fastlane.tools/actions
  4. # can also be listed using the `fastlane actions` command
  5. # Change the syntax highlighting to Ruby
  6. # All lines starting with a # are ignored when running `fastlane`
  7. # If you want to automatically update fastlane if a new version is available:
  8. # update_fastlane
  9. # This is the minimum version number required.
  10. # Update this, if you use features of a newer version
  11. fastlane_version "2.9.0"
  12. default_platform :ios
  13. platform :ios do
  14. before_all do
  15. # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  16. cocoapods
  17. end
  18. desc "Runs all the tests"
  19. lane :test do
  20. scan
  21. end
  22. desc "Submit a new Beta Build to Apple TestFlight"
  23. desc "This will also make sure the profile is up to date"
  24. lane :beta do
  25. # match(type: "appstore") # more information: https://codesigning.guide
  26. gym # Build your app - more options available
  27. pilot
  28. # sh "your_script.sh"
  29. # You can also use other beta testing services here (run `fastlane actions`)
  30. end
  31. desc "Deploy a new version to the App Store"
  32. lane :release do
  33. # match(type: "appstore")
  34. # snapshot
  35. gym # Build your app - more options available
  36. deliver(force: true)
  37. # frameit
  38. end
  39. # You can define as many lanes as you want
  40. after_all do |lane|
  41. # This block is called, only if the executed lane was successful
  42. # slack(
  43. # message: "Successfully deployed new App Update."
  44. # )
  45. end
  46. error do |lane, exception|
  47. # slack(
  48. # message: exception.message,
  49. # success: false
  50. # )
  51. end
  52. end
  53. # More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
  54. # All available actions: https://docs.fastlane.tools/actions
  55. # fastlane reports which actions are used
  56. # No personal data is recorded. Learn more at https://github.com/fastlane/enhancer