Sha256: 19ccf10928bfc581867801e585d536fb013a6115d132973085fbaa652b0f1f5b

Contents?: true

Size: 387 Bytes

Versions: 26

Compression:

Stored size: 387 Bytes

Contents

module EventCalendar
  module Generators
    class InstallGenerator < Rails::Generators::Base

      def self.source_root
        @source_root ||= File.expand_path('../templates', __FILE__)
      end

      def install_rake_tasks
        directory '.', File.join("lib", "tasks")
      end

      def rake_engine_install
        rake "event_calendar:install"
      end

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
event_calendar_engine-0.1.5 lib/generators/event_calendar/install/install_generator.rb
event_calendar_engine-0.1.4 lib/generators/event_calendar/install/install_generator.rb
event_calendar_engine-0.1.3 lib/generators/event_calendar/install/install_generator.rb
event_calendar_engine-0.1.2 lib/generators/event_calendar/install/install_generator.rb
event_calendar_engine-0.1.1 lib/generators/event_calendar/install/install_generator.rb
event_calendar_engine-0.1.0 lib/generators/event_calendar/install/install_generator.rb