Sha256: 7e32aa349df60c064c36261a07fedb11a3f50323c05f2e00fc8da7233892dc23

Contents?: true

Size: 509 Bytes

Versions: 1

Compression:

Stored size: 509 Bytes

Contents

module Html5
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      # def run_config
      #   inside do
      #     # Needs more work
      #     run("bundle exec compass config --app rails -r compass-html5 -q")
      #   end
      # end

      def copy_config
        copy_file "compass.rb", "config/compass.rb"
      end

      def show_readme
        readme "README" if behavior == :invoke
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html5-rails-0.0.2 lib/generators/html5/install/install_generator.rb