Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (15 sloc) 0.506 kb
$command_line_options = {}
regexp = /^with_(.+)/
ENV.keys.grep(regexp).each do |param|
override_option = param.match(regexp)[1]
$command_line_options[override_option.to_sym] = ENV[param]
end
ssh_options[:keys] = ["github_id_dsa"].map { |keyname| File.join(ENV["HOME"], ".ssh", keyname) }
server_path = $command_line_options[:server] || 'mohole.net'
role :server_role, server_path
namespace :deploy do
desc "Deploy to #{server_path}"
task :all, :roles => :server_role do
run "ls -al"
end
end
Jump to Line
Something went wrong with that request. Please try again.