Sha256: aa4c706ff6a1add72b6dd03bdcc9586f82a9a22e2578bafc49b8e04c6bcddcc7

Contents?: true

Size: 721 Bytes

Versions: 1

Compression:

Stored size: 721 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
  begin
    remove_file '.gitignore'
    get 'https://raw.github.com/RailsApps/rails3-application-templates/master/files/gitignore.txt', '.gitignore'
  rescue OpenURI::HTTPError
    say_wizard "Unable to obtain gitignore file from the repo"
  end
  git :init
  git :add => '.'
  git :commit => "-aqm 'rails_apps_composer: initial commit'"
end

__END__

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

category: configuration

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_apps_composer-2.1.1 recipes/git.rb