lib/pah/partials/_public.rb in pah-0.0.12 vs lib/pah/partials/_public.rb in pah-0.0.13
- old
+ new
@@ -1,11 +1,16 @@
-puts "Adding public files ...".magenta
-
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 => '--all'
-git :commit => "-aqm 'Add public files.'"
+git add: 'public/robots.txt'
+git add: 'public/404.html'
+git add: 'public/500.html'
+
+git_commit 'Add public files.'
puts "\n"