Skip to content
Browse files

Added rake file with update tasks

  • Loading branch information...
1 parent 1c5d16a commit b3a9fa5435f8519fbc29ceb833503e36a67a4aad @Narnach committed Mar 30, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 tasks/number_recognizer.rake
View
11 tasks/number_recognizer.rake
@@ -0,0 +1,11 @@
+namespace :nr do
+ desc 'Update number_recognizer plugin'
+ task :safe_update do
+ system "script/plugin install -f git://github.com/Narnach/number_recognizer.git"
+ end
+
+ desc 'Update number_recognizer plugin and auto-commit it to git.'
+ task :update do
+ system "script/plugin install -f git://github.com/Narnach/number_recognizer.git && git add vendor/plugins/number_recognizer && git commit -m 'Updated number_recognizer to latest version'"
+ end
+end

0 comments on commit b3a9fa5

Please sign in to comment.
Something went wrong with that request. Please try again.