Sha256: 3a240e9fb286a36b50c2038f5a9e12d9b45bf6f5c04d309ca550a4f898467ffa

Contents?: true

Size: 778 Bytes

Versions: 8

Compression:

Stored size: 778 Bytes

Contents

#!/usr/bin/env ruby
APP_ROOT = File.join(File.dirname(__FILE__), '..')

# required to overcome a callback in rspec
def at_exit
end

begin
  require 'rubigen'
rescue LoadError
  require 'rubygems'
  require 'rubigen'
end

require File.join(File.dirname(__FILE__), "..", 'config', 'boot')
require (APP_ROOT / "config" / "merb_init" )
module Kernel
  undef dependency if defined?(Kernel.dependency)
end

# Make the App's local gems available
Gem.clear_paths
Gem.path.unshift(APP_ROOT / "gems")

require 'rubigen/scripts/destroy'

ARGV.shift if ['--help', '-h'].include?(ARGV[0])

# Default is to use rspec generators in gems.  To change this to
# Test::Unit use [:merb, :test_unit]
RubiGen::Base.use_component_sources! Merb::GENERATOR_SCOPE
RubiGen::Scripts::Destroy.new.run(ARGV)

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
derailed-mole-1.0.10 samples/merbapp/script/destroy
merb-0.5.3 app_generators/merb/templates/script/destroy
mole-1.0.7 samples/merbapp/script/destroy
mole-1.0.9 samples/merbapp/script/destroy
mole-1.0.11 samples/merbapp/script/destroy
mole-1.0.12 samples/merbapp/script/destroy
mole-1.0.8 samples/merbapp/script/destroy
mole-1.0.6 samples/merbapp/script/destroy