Skip to content

Instantly share code, notes, and snippets.

@Ben-G

Ben-G/Fastfile Secret

Last active September 14, 2016 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ben-G/d8e1f415f913da8fa246a32f39ad5fb9 to your computer and use it in GitHub Desktop.
Save Ben-G/d8e1f415f913da8fa246a32f39ad5fb9 to your computer and use it in GitHub Desktop.
Fastfile
# 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