Sha256: 9acc0a4b788b60250ee52815d739ddb546c974b7bf3390d7fbb3e2dca3bfc9c4

Contents?: true

Size: 297 Bytes

Versions: 12

Compression:

Stored size: 297 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 "Added Gemsmith skeleton."`
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gemsmith-5.2.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-5.1.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-5.0.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-4.3.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-4.2.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-4.1.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-4.0.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-3.2.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-3.1.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-3.0.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-2.4.0 lib/gemsmith/skeletons/git_skeleton.rb
gemsmith-2.3.0 lib/gemsmith/skeletons/git_skeleton.rb