lib/pah/partials/_cleanup.rb in pah-0.0.12 vs lib/pah/partials/_cleanup.rb in pah-0.0.13
- old
+ new
@@ -1,12 +1,4 @@
-puts "Removing unnecessary files ... ".magenta
+git rm: "README.rdoc"
+git rm: "app/views/layouts/application.html.erb"
-remove_file "README.rdoc"
-remove_file "app/views/layouts/application.html.erb"
-
-inside "public" do
- remove_file "robots.txt"
-end
-
-git :add => '--all'
-git :commit => "-aqm 'Removed unnecessary files left over from initial app generation.'"
-puts "\n"
+git_commit 'Remove unnecessary files left over from initial app generation.'