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.4.40 recipes/git.rb
rails_apps_composer-2.4.39 recipes/git.rb
rails_apps_composer-2.4.38 recipes/git.rb
rails_apps_composer-2.4.37 recipes/git.rb
rails_apps_composer-2.4.36 recipes/git.rb
rails_apps_composer-2.4.35 recipes/git.rb
rails_apps_composer-2.4.34 recipes/git.rb
rails_apps_composer-2.4.33 recipes/git.rb
rails_apps_composer-2.4.32 recipes/git.rb
rails_apps_composer-2.4.31 recipes/git.rb
rails_apps_composer-2.4.30 recipes/git.rb
rails_apps_composer-2.4.29 recipes/git.rb
rails_apps_composer-2.4.28 recipes/git.rb
rails_apps_composer-2.4.27 recipes/git.rb
rails_apps_composer-2.4.26 recipes/git.rb
rails_apps_composer-2.4.25 recipes/git.rb
rails_apps_composer-2.4.24 recipes/git.rb
rails_apps_composer-2.4.23 recipes/git.rb
rails_apps_composer-2.4.22 recipes/git.rb
rails_apps_composer-2.4.21 recipes/git.rb