Rake Task for Setting up TextMate Project 1

Posted by John Wulff Tue, 26 Jun 2007 20:32:00 GMT

desc "Creates a TextMate project."
task :mate do
  puts "Creating TextMate project..."
  system("cd #{RAILS_ROOT} && mate INSTALL README Rakefile app config db/migrate doc lib public script test vendor")
end
Sets up a TextMate project for you, leaving out unnecessary stuff (log, tmp, etc.) I hate saving TextMate project files. I much prefer to just use this task.
rake mate
Trackbacks

Use the following link to trackback from your own site:
http://www.johnwulff.com/trackbacks?article_id=22

Comments

Leave a comment

  1. Avatar
    brasten about 1 month later:
    I accomplish the same thing through aliases... alias mt="mate ....files...." Same reason, project files are a pain!
Comments