-
-
Save Ben-G/d8e1f415f913da8fa246a32f39ad5fb9 to your computer and use it in GitHub Desktop.
Fastfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Customise this file, documentation can be found here: | |
# https://github.com/fastlane/fastlane/tree/master/docs | |
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md | |
# can also be listed using the `fastlane actions` command | |
# Change the syntax highlighting to Ruby | |
# All lines starting with a # are ignored when running `fastlane` | |
# By default, fastlane will send which actions are used | |
# No personal data is shared, more information on https://github.com/fastlane/enhancer | |
# Uncomment the following line to opt out | |
# opt_out_usage | |
# If you want to automatically update fastlane if a new version is available: | |
# update_fastlane | |
# This is the minimum version number required. | |
# Update this, if you use features of a newer version | |
require_relative './Phraseapp/update_localization.rb' | |
fastlane_version "1.68.0" | |
default_platform :ios | |
platform :ios do | |
before_all do | |
# ENV["SLACK_URL"] = "https://hooks.slack.com/services/..." | |
end | |
# Note: this lane does not install CocoaPods and does not clean the build | |
# directory; it is intented to be used after other build steps. | |
desc "Runs all the tests & uploads code coverage data to codecov.io and updates translation keys on Phraseapp" | |
lane :dev do | |
# Upload latest localization keys to Phraseapp | |
UpdateLocalization.upload_latest_localization | |
scan( | |
scheme: "PlanGrid_CI", | |
devices: ["iPad Air 2"], | |
clean: false, | |
code_coverage: true | |
) | |
sh "../scripts/upload_codecoverage.sh" | |
end | |
end | |
# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/docs/Platforms.md | |
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment