Sha256: 18cccefb4c16bb0535135386c714357d6fe2e0661f7f7c3209af2828237fdca1

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

# frozen_string_literal: true

module Rubysmith
  module Builders
    module Git
      # Initializes project skeleton as a Git repository.
      class Setup < Abstract
        def call
          return configuration unless configuration.build_git

          builder.call(configuration).run("git init", chdir: configuration.project_name)
          configuration
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysmith-6.10.0 lib/rubysmith/builders/git/setup.rb
rubysmith-6.9.0 lib/rubysmith/builders/git/setup.rb