Sha256: e1407976d492c8722dc95d9100aa84074e3888f38c1a08a39c425d3c2616f1b0

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

module Gemsmith
  module Skeletons
    class GitSkeleton < BaseSkeleton
      def create_files
        Dir.chdir(File.join(destination_root, gem_name)) do
          `git init`
          `git add .`
          `git commit -a -n -m "Gemsmith skeleton created."`
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gemsmith-2.2.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-2.1.0 lib/gemsmith/skeletons/git_skeleton.rb