Sha256: 4c6b5a8382e25e7580348cfd875a5e59270119465c33c5ea8dea7fbeaec7a213

Contents?: true

Size: 360 Bytes

Versions: 45

Compression:

Stored size: 360 Bytes

Contents

require 'thor'
require 'thor/group'

module Itamae
  module Generators
    class Cookbook < Thor::Group
      include Thor::Actions

      def self.source_root
        File.expand_path('../templates/cookbook', __FILE__)
      end

      def copy_files
        directory '.'
      end

      def remove_files
        remove_file '.'
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
itamae-1.14.1 lib/itamae/generators/cookbook.rb
itamae-1.14.0 lib/itamae/generators/cookbook.rb
itamae-1.13.1 lib/itamae/generators/cookbook.rb
itamae-1.13.0 lib/itamae/generators/cookbook.rb
itamae-1.12.6 lib/itamae/generators/cookbook.rb
itamae-1.12.5 lib/itamae/generators/cookbook.rb
itamae-1.12.4 lib/itamae/generators/cookbook.rb
itamae-1.12.3 lib/itamae/generators/cookbook.rb
itamae-1.12.2 lib/itamae/generators/cookbook.rb
itamae-1.12.1 lib/itamae/generators/cookbook.rb
itamae-1.12.0 lib/itamae/generators/cookbook.rb
itamae-1.11.2 lib/itamae/generators/cookbook.rb
itamae-1.11.1 lib/itamae/generators/cookbook.rb
itamae-1.11.0 lib/itamae/generators/cookbook.rb
itamae-1.10.10 lib/itamae/generators/cookbook.rb
itamae-1.10.9 lib/itamae/generators/cookbook.rb
itamae-1.10.8 lib/itamae/generators/cookbook.rb
itamae-1.10.7 lib/itamae/generators/cookbook.rb
itamae-1.10.6 lib/itamae/generators/cookbook.rb
itamae-1.10.5 lib/itamae/generators/cookbook.rb