Sha256: 9ad728cbb2fa8329e563884728f106a9cdd4eeb8b1b570010b0864ea05be5288
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
module Capistrano class Application < Rake::Application include Rake::DSL def initialize super @rakefiles = %w{capfile Capfile capfile.rb Capfile.rb} << capfile end def run Rake.application = self super end def load_rakefile @name = 'cap' super end private # allows the `cap install` task to load without a capfile def capfile File.expand_path(File.join(File.dirname(__FILE__),'..','Capfile')) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capistrano-3.0.0.pre2 | lib/capistrano/application.rb |
capistrano-3.0.0.pre | lib/capistrano/application.rb |