Class: Fastlane::Actions::NotifyAction
Class Method Summary
collapse
action_name, authors, available_options, details, output, sh, step_text
Class Method Details
.author ⇒ Object
15
16
17
|
# File 'lib/fastlane/actions/notify.rb', line 15
def self.author
"champo"
end
|
.description ⇒ Object
11
12
13
|
# File 'lib/fastlane/actions/notify.rb', line 11
def self.description
"Shows a Mac OS X notification"
end
|
.is_supported?(platform) ⇒ Boolean
19
20
21
|
# File 'lib/fastlane/actions/notify.rb', line 19
def self.is_supported?(platform)
true
end
|
.run(params) ⇒ Object
4
5
6
7
8
9
|
# File 'lib/fastlane/actions/notify.rb', line 4
def self.run(params)
require 'terminal-notifier'
text = params.join(' ')
TerminalNotifier.notify(text, title: 'fastlane')
end
|