Sha256: b57cb605c60686a3f509cf21290f4be05483c1991047e5f22c9844e25a598d15

Contents?: true

Size: 410 Bytes

Versions: 47

Compression:

Stored size: 410 Bytes

Contents

require 'thor'
require 'thor/group'

module ItamaeMitsurin
  module Mitsurin
    module Creators
      class Project < Thor::Group
        include Thor::Actions

        def self.source_root
          File.dirname(__FILE__) + '/templates/project'
        end

        def copy_files
          directory '.'
        end

        def bundle
          run 'bundle install'
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
itamae-mitsurin-1.0.3 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-1.0.2 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-1.0.1 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-1.0.0 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.50 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.49 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.48 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.47 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.46 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.45 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.44 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.43 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.42 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.41 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.40 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.39 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.38 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.37 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.36 lib/itamae-mitsurin/mitsurin/creators/project.rb
itamae-mitsurin-0.35 lib/itamae-mitsurin/mitsurin/creators/project.rb