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