Sha256: c7673928e8fff8f836a5fe77160d48695251604cc7f228b3ab6a544dbb7b8531

Contents?: true

Size: 718 Bytes

Versions: 2

Compression:

Stored size: 718 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 'app/views/application/_error_messages.html.haml'
copy_static_file 'app/views/application/_flash_messages.html.haml'
copy_static_file 'config/unicorn.rb'
copy_static_file 'Procfile'
copy_static_file "lib/tasks/integration.rake"

copy_static_file 'config/locales/pt-BR.yml'

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.6 lib/pah/partials/_default.rb
pah-0.0.5 lib/pah/partials/_default.rb