Sha256: e523300b004f3e51639bd5f1f3daae86e248160c37e6892c474d4fe501a3ecd2

Contents?: true

Size: 647 Bytes

Versions: 38

Compression:

Stored size: 647 Bytes

Contents

#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require "#{RAILS_ROOT}/config/environment"
require 'rails_generator'
require 'rails_generator/scripts/generate'

class Rails::Generator::Base
  def self.use_application_sources!
    reset_sources
    sources << Rails::Generator::PathSource.new(:builtin, "#{RADIANT_ROOT}/lib/generators")
    plugins_path = File.expand_path(File.join(RAILS_ROOT, %w(vendor plugins)))
    sources << Rails::Generator::PathSource.new(:"plugins (vendor/plugins)", "#{plugins_path}/*/**/{,rails_}generators")
  end
end

Rails::Generator::Base.use_application_sources!

require 'commands/generate'

Version data entries

38 entries across 38 versions & 5 rubygems

Version Path
radiant-1.0.0.rc2 lib/generators/instance/templates/instance_generate
radiant-1.0.0.rc1 lib/generators/instance/templates/instance_generate
radiant-rails3-0.1 lib/generators-rails2/instance/templates/instance_generate
radiantcms-couchrest_model-0.2.4 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.2.2 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.2.1 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.2 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.9 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.8 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.7 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.6 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.5 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.4 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.3 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.2 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1.1 lib/generators/instance/templates/instance_generate
radiantcms-couchrest_model-0.1 lib/generators/instance/templates/instance_generate
radiant-0.7.2 lib/generators/instance/templates/instance_generate
radiant-0.9.1 lib/generators/instance/templates/instance_generate
radiant-0.8.2 lib/generators/instance/templates/instance_generate