Sha256: 963877650343e2d8c7a4bfb9db13f332b9e063a05b888df4cc948138b0e117f2

Contents?: true

Size: 666 Bytes

Versions: 2

Compression:

Stored size: 666 Bytes

Contents

require 'rails_generator'
require 'shenandoah/rails/locator'

module Shenandoah
  module Generators
    class ShenandoahGenerator < ::Rails::Generator::Base
      def manifest
        spec_path = Shenandoah::Rails::Locator.new.spec_path.sub %r{^#{RAILS_ROOT}/}, ''
        record do |m|
          m.directory "lib/tasks"
          m.file "shenandoah.rake", "lib/tasks/shenandoah.rake"

          m.directory spec_path
          m.file "spec_helper.js", "#{spec_path}/spec_helper.js"
          m.file "application_spec.js", "#{spec_path}/application_spec.js"
          m.file "application.html", "#{spec_path}/application.html"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shenandoah-0.2.0 rails_generators/shenandoah/shenandoah_generator.rb
shenandoah-0.1.3 rails_generators/shenandoah/shenandoah_generator.rb