Sha256: 1acdd040ad14c5f1dbe73ab2e43b5a5ad7bb663d71a216a6f3a04450553a9dbb

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

class FreezerGenerator < Merb::GeneratorBase
  
  def initialize(args, runtime_args = {})
    @base =             File.dirname(__FILE__)
    super
  end
  
  def manifest
    record do |m|
      @m = m
      @assigns = {}
      copy_dirs
      m.file "script/frozen-merb", "script/frozen-merb", :chmod => 0755, :shebang => DEFAULT_SHEBANG
    end
  end
  
  protected
  def banner
    <<-EOS.split("\n").map{|x| x.strip}.join("\n")
      Creates a frozen-merb script that runs merb from framework/ or gems/

      USAGE: #{spec.name} frozen-merb
    EOS
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merb-gen-0.9.2 merb_generators/freezer/freezer_generator.rb