Last active
December 14, 2015 04:09
-
-
Save aussielunix/5026478 to your computer and use it in GitHub Desktop.
consuming cap tasks from ruby proper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'capistrano/cli' | |
config = ::Capistrano::Configuration.new | |
# This loads up the tasks into the current scope | |
# | |
config.load 'tasks/foo.rb' | |
# run task 'foo' | |
# | |
config.foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment