Sha256: b5bb81df14130adb51746a9bb0e8f08fc04eb4871b29edfa321e3d40f56d989c

Contents?: true

Size: 650 Bytes

Versions: 4

Compression:

Stored size: 650 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, "#{BRISKBILLS_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

4 entries across 4 versions & 1 rubygems

Version Path
brisk-bills-0.8.2 lib/generators/instance/templates/instance_generate
brisk-bills-0.8.1 lib/generators/instance/templates/instance_generate
brisk-bills-0.7.0 lib/generators/instance/templates/instance_generate
brisk-bills-0.6.0 lib/generators/instance/templates/instance_generate