Sha256: 984d4aa39e0e95ff547ebfc797c743a93c74dbdccd32fbf8d76aaeab83fb64d5

Contents?: true

Size: 369 Bytes

Versions: 5

Compression:

Stored size: 369 Bytes

Contents

module Fastlane
  module Actions
    class NotifyAction < Action
      def self.run(params)
        require 'terminal-notifier'

        text = params.join(' ')
        TerminalNotifier.notify(text, title: 'fastlane')
      end

      def self.description
        "Shows a Mac OS X notification"
      end

      def author
        "champo"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fastlane-0.10.0 lib/fastlane/actions/notify.rb
fastlane-0.9.0 lib/fastlane/actions/notify.rb
fastlane-0.8.1 lib/fastlane/actions/notify.rb
fastlane-0.8.0 lib/fastlane/actions/notify.rb
fastlane-0.7.0 lib/fastlane/actions/notify.rb