Sha256: 80428a5f06c78283bb25ce438e73a613d9977ba1f7db3dbc86ac704147c56de1
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
recipe :git do description 'This will initialize Git repository and creates .gitignore' after :gemfile silently do before_exit do remove_file '.gitignore' # TODO Add sphinx & dragonfly files to .gitignore create_file '.gitignore', <<-CONTENT.gsub(/^ {14}/, '') .DS_Store log/*.log tmp/**/* db/*.sqlite3 .idea/ public/uploads/* public/assets/* .sass-cache/ CONTENT in_root do git :init git :add => '.' git :commit => "-m 'Initial commit for #{application_name}'" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
playmo-0.1.1 | lib/playmo/recipes/git_recipe.rb |
playmo-0.1.0 | lib/playmo/recipes/git_recipe.rb |