Class: Pot::Installers::Rake
- Inherits:
-
Pot::Installer
- Object
- Pot::Installer
- Pot::Installers::Rake
- Defined in:
- lib/pot/installers/rake.rb
Overview
Rake Installer
This installer runs a rake command.
Example Usage
The following example runs the command “rake spec” on the remote server.
package :spec do
rake 'spec'
end
Specify a Rakefile with the :rakefile option.
package :spec, :rakefile => "/var/setup/Rakefile" do
rake 'spec'
end
Instance Attribute Summary
Attributes inherited from Pot::Installer
#actor, #options, #package, #post, #pre
Instance Method Summary collapse
-
#initialize(parent, commands, options = {}, &block) ⇒ Rake
constructor
:nodoc:.
Methods inherited from Pot::Installer
#archives, #builds, #commands, #prefix, #process
Constructor Details
#initialize(parent, commands, options = {}, &block) ⇒ Rake
:nodoc:
23 24 25 26 |
# File 'lib/pot/installers/rake.rb', line 23 def initialize(parent, commands, = {}, &block) #:nodoc: super parent, , &block @commands = commands end |