Sha256: 86bf7590dd6aaf60a8596d78041cd30b31806cd3a23ed687d75e772ab777a4a2
Contents?: true
Size: 583 Bytes
Versions: 11
Compression:
Stored size: 583 Bytes
Contents
module Sprinkle module Installers # = 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 # class Rake < Installer def initialize(parent, commands = [], &block) #:nodoc: super parent, &block @commands = commands end protected def install_commands #:nodoc: "rake #{@commands.join(' ')}" end end end end
Version data entries
11 entries across 11 versions & 4 rubygems