Skip to content
Capistrano integration with Mountain Lion's Notification Center
Ruby
Find file
Latest commit d5c21cb @kirs kirs Preparing for 0.1.4
Failed to load latest commit information.
lib Add support for "activate" and "sender" terminal-notifier options
.gitignore Initial commit
CHANGELOG.md Preparing for 0.1.3 release
Gemfile
LICENSE Initial commit
README.md Preparing for 0.1.4
Rakefile Cleanup
capistrano-nc.gemspec Preparing for 0.1.4

README.md

Capistrano + Notification Center

capistrano-nc integrates Capistrano and OS X Notification Center.

Screenshot

Installation

for Capistrano 3.x

# Gemfile
gem 'capistrano-nc', '~> 0.1'
# Capfile
require 'capistrano-nc/nc'

for Capistrano 2.x

# Gemfile
gem "capistrano-nc", "0.0.2"
# config/deploy.rb
require "capistrano-nc"

By default it will run the nc:finished task after your deploy or deploy:migrations. If this behavior doesn't suit you, you can hook nc:finished to any custom task by editing deploy.rb:

after `your:task`, `nc:finished`

Terminal.app is opened when the notification is clicked. To use an alternative terminal set :nc_terminal to the bundle identifier e.g. set :nc_terminal, 'com.googlecode.iterm2' for iTerm2.

Contributors

Feel free to pull request!

Something went wrong with that request. Please try again.