Sha256: 632413b205141a280ef72d701fa01aeb3c06831efa417119d044af2907a856d6

Contents?: true

Size: 722 Bytes

Versions: 1

Compression:

Stored size: 722 Bytes

Contents

module Stationed
  module Generators
    module Plugins
      module Wiki
        def finish_template
          gem 'gollum', require: 'gollum/app', group: [:development]
          route "mount Precious::App => '/wiki' if defined?(Precious)"
          copy_file 'Home.md',       'doc/wiki/Home.md'
          copy_file 'Setup.md',      'doc/wiki/Setup.md'
          copy_file 'Testing.md',    'doc/wiki/Testing.md'
          copy_file 'Services.md',   'doc/wiki/Services.md'
          copy_file 'Deployment.md', 'doc/wiki/Deployment.md'
          copy_file 'gollum.rake',   'lib/tasks/gollum.rake'
          copy_file 'gollum.rb',     'config/initializers/gollum.rb'
          super
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stationed-0.0.1 lib/stationed/generators/plugins/wiki.rb