Yet another rake and subversion task

This time my first rake task – adding content to Subversion repository. I took example Ruby code given on http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion changed a little (in rake task I can not find way to read from stdin) to get input for commit message.

So, if You find useful such a code: download http://nhw.pl/download/svn.rake, put it in Yours application lib/tasks/ directory. If You have setup Your applicatio to work with Subversion, now it is enough to run rake svn COMMIT_MSG='blah, blah' add all new files and commit changes with given message.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.