Sha256: 4db872a833d3b0f782f1669107ab37b780074960bf11811dd5c40e15157ba403

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

class Recipes::Git < Rails::AppBuilder
  def create
    git :init
    after(:database_creation) do
      append_to_file '.gitignore', ".env\n"
      append_to_file '.gitignore', ".powder\n"
      append_to_file '.gitignore', "vendor/assets/bower_components\n"

      git add: "."
      git commit: %{ -m 'Initial commit' }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
potassium-2.0.0 lib/potassium/recipes/git.rb