Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c9faa5ddb1
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (18 sloc) 0.728 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# Remove tmp directories
%w[tmp/pids tmp/sessions tmp/sockets tmp/cache].each do |dir|
  run("rm -rf #{dir}")
end
 
# Delete unnecessary files.
%w[README doc/README_FOR_APP public/index.html public/favicon.ico
public/robots.txt public/images/rails.png].each do |file|
  run("rm #{file}")
end
run "rm -f public/javascripts/*"

git :add => "-u"
git :commit => "-m 'removed files: README,
doc/README_FOR_APP
public/index.html,
public/favicon.ico,
public/robots.txt,
public/images/rails.png,
public/javascripts/*'"
Something went wrong with that request. Please try again.