Sha256: 8e70c97ca9fc115391116e0f71bedd7e6267e060307a54818241a5b6274c747e

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 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 "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

1 entries across 1 versions & 1 rubygems

Version Path
pah-0.0.3 lib/pah/partials/_default.rb