Skip to content

Instantly share code, notes, and snippets.

@jaleksynas
jaleksynas / Fastfile
Created March 1, 2019 17:48
Using Helper.is_ci?
# Example of only doing something in or out of ci.
#=> fastlane my_process
#=> JENKINS_URL=foo fastlane my_process
before_all do
ci_stuff
end
lane :my_process do
UI.message "Only do this when in CI" if Helper.is_ci?
@jaleksynas
jaleksynas / Fastfile
Created March 1, 2019 17:45
First step in Plugin developement
# => fastlane my_process
lane :my_process do
wave_from "My process"
end
# Plain old ruby function for all the complexity
def wave_from(phrase)
UI.message "👋 from #{phrase}"
UI.important "Yellow Things"
@jaleksynas
jaleksynas / Fastfile
Last active March 5, 2019 17:51
Basic Fastlane concepts
# Welcome to Fastlane!
# Here are a few examples of the most basic building blocks
# NOTICE: Although syntactically correct, this cannot run
# without further configuration and -- of course --
# an iOS project!
# To discover what actions are avaialble:
# => fastlane actions