Sha256: 13a3062000a5f53a5798bd0c098ef4fe678cec0228140c9bb43a0faeaaa965f7

Contents?: true

Size: 777 Bytes

Versions: 48

Compression:

Stored size: 777 Bytes

Contents

# Application template recipe for the rails_apps_composer. Change the recipe here:
# https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/git.rb

## Git
say_wizard "initialize git"
prefs[:git] = true unless prefs.has_key? :git
if prefer :git, true
  copy_from 'https://raw.github.com/RailsApps/rails-composer/master/files/gitignore.txt', '.gitignore'
  git :init
  git :add => '-A'
  git :commit => '-qm "rails_apps_composer: initial commit"'
else
  after_everything do
    say_wizard "removing .gitignore and .gitkeep files"
    git_files = Dir[File.join('**','.gitkeep')] + Dir[File.join('**','.gitignore')]
    File.unlink git_files
  end
end

__END__

name: git
description: "Initialize git for your application."
author: RailsApps

category: configuration

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
rails_apps_composer-2.6.13 recipes/git.rb
rails_apps_composer-2.6.12 recipes/git.rb
rails_apps_composer-2.6.11 recipes/git.rb
rails_apps_composer-2.6.10 recipes/git.rb
rails_apps_composer-2.6.9 recipes/git.rb
rails_apps_composer-2.6.8 recipes/git.rb
rails_apps_composer-2.6.7 recipes/git.rb
rails_apps_composer-2.6.6 recipes/git.rb
rails_apps_composer-2.6.5 recipes/git.rb
rails_apps_composer-2.6.4 recipes/git.rb
rails_apps_composer-2.6.3 recipes/git.rb
rails_apps_composer-2.6.2 recipes/git.rb
rails_apps_composer-2.6.1 recipes/git.rb
rails_apps_composer-2.6.0 recipes/git.rb
rails_apps_composer-2.5.1 recipes/git.rb
rails_apps_composer-2.5.0 recipes/git.rb
rails_apps_composer-2.4.44 recipes/git.rb
rails_apps_composer-2.4.43 recipes/git.rb
rails_apps_composer-2.4.42 recipes/git.rb
rails_apps_composer-2.4.41 recipes/git.rb