Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@natanrolnik
Last active October 21, 2015 13:58
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 natanrolnik/610c97eba7633e766857 to your computer and use it in GitHub Desktop.
Save natanrolnik/610c97eba7633e766857 to your computer and use it in GitHub Desktop.
after_all do |lane|
notify "Fastlane succeeded '#{lane}'" unless Helper.is_ci? #if I'm running it locally, show a terminal OS X notification
push_notify(lane, "Succeeded") #check the bonus part!
end
error do |lane, exception|
notify "Fastlane failed '#{lane}'" unless Helper.is_ci? #if I'm running it locally, show a terminal OS X notification
push_notify(lane, "Failed") #check the bonus part!
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment