Sha256: 97d8c4868c49ca98c2f56a35d39dfb47d76df6dfbfb2f30365b01163e286eaf6
Contents?: true
Size: 661 Bytes
Versions: 2
Compression:
Stored size: 661 Bytes
Contents
module Pah module Templates class Public < Pah::Template def call inside 'public' do remove_file 'robots.txt' remove_file 'humans.txt' remove_file '404.html' remove_file '500.html' end copy_static_file 'public/robots.txt' copy_static_file 'public/humans.txt' copy_static_file 'public/404.html' copy_static_file 'public/500.html' git add: 'public/robots.txt' git add: 'public/humans.txt' git add: 'public/404.html' git add: 'public/500.html' git_commit 'Add public files.' puts "\n" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.17 | lib/pah/templates/public.rb |
pah-0.0.16 | lib/pah/templates/public.rb |