Sha256: 5b278d628aa169e565febf61c4f5b0b16567315580ad4d31bdc082b8a8d29204

Contents?: true

Size: 712 Bytes

Versions: 2

Compression:

Stored size: 712 Bytes

Contents

puts "Adding default files ...".magenta

copy_static_file 'app/assets/stylesheets/reset.css'
copy_static_file 'app/views/layouts/application.html.haml'
copy_static_file 'config/unicorn.rb'
copy_static_file 'Procfile'
copy_static_file "config/initializers/requires.rb"
copy_static_file "lib/tasks/integration.rake"

copy_static_file 'config/locales/pt-BR.yml'
copy_static_file 'public/index.html' if ENV['RAILS_TEMPLATE_TEST'] == 'true'

gsub_file 'lib/tasks/integration.rake', /PROJECT/, @app_name

copy_static_file '.gitignore'

create_file ".env" do
<<-EOF
export PRODUCTION_APP=#{@app_name}
export STAGING_APP=#{@app_name}-staging
EOF
end

git :add => '.'
git :commit => "-aqm 'Add default stuff.'"
puts "\n"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pah-0.0.2 lib/pah/partials/_default.rb
pah-0.0.1 lib/pah/partials/_default.rb