Sha256: db5e4daec1f3bfcd677f7006f7865abf92a866bbe51e80fb35b0bfad991feab8
Contents?: true
Size: 526 Bytes
Versions: 8
Compression:
Stored size: 526 Bytes
Contents
module Pah module Templates class Public < Pah::Template def call inside 'public' do remove_file 'robots.txt' remove_file '404.html' remove_file '500.html' end copy_static_file 'public/robots.txt' copy_static_file 'public/404.html' copy_static_file 'public/500.html' git add: 'public/robots.txt' git add: 'public/404.html' git add: 'public/500.html' git_commit 'Add public files.' end end end end
Version data entries
8 entries across 8 versions & 1 rubygems