Fastfile 799 B

12345678910111213141516171819202122232425262728293031
  1. # This file contains the fastlane.tools configuration
  2. # You can find the documentation at https://docs.fastlane.tools
  3. #
  4. # For a list of all available actions, check out
  5. #
  6. # https://docs.fastlane.tools/actions
  7. #
  8. # For a list of all available plugins, check out
  9. #
  10. # https://docs.fastlane.tools/plugins/available-plugins
  11. #
  12. # Uncomment the line if you want fastlane to automatically update itself
  13. # update_fastlane
  14. default_platform(:android)
  15. platform :android do
  16. desc "Takes screenshots for manual and Google Play"
  17. lane :screenshots do
  18. gradle(project_dir: "..", task: "assembleScreenshot assembleAndroidTest")
  19. system './demo-mode-activate.sh'
  20. capture_android_screenshots
  21. system './demo-mode-deactivate.sh'
  22. system './rename_screenshots.py'
  23. end
  24. end
  25. # vi:syntax=ruby