Sha256: 1c57b6cd7fffe2e23691ffc06e5d4bbc0aafcc88cb07c90e4174b335d85a5f6e

Contents?: true

Size: 559 Bytes

Versions: 4

Compression:

Stored size: 559 Bytes

Contents

module Locomotive
  module Wagon
    module Generators
      module Site

        # Template used when the remote LocomotiveCMS site is cloned
        # in order to have the minimal files.
        class Cloned < Base

          argument :connection_info

          def copy_sources
            copy_sources_from_generator(generator_name: 'cloned', options: self.connection_info)
          end

          def bundle_install
            super
          end

          def comment_gemfile
            false
          end

        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotivecms_wagon-3.0.2 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-3.0.0 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-3.0.0.rc0 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-3.0.0.beta2 lib/locomotive/wagon/generators/site/cloned.rb