Class: Rake::Leaves::SubversionTask
- Defined in:
- lib/leaves/vcs/subversion.rb
Instance Method Summary collapse
- #define ⇒ Object
-
#initialize {|_self| ... } ⇒ SubversionTask
constructor
A new instance of SubversionTask.
Methods inherited from TaskLib
Constructor Details
#initialize {|_self| ... } ⇒ SubversionTask
Returns a new instance of SubversionTask.
11 12 13 14 |
# File 'lib/leaves/vcs/subversion.rb', line 11 def initialize yield self if block_given? define end |
Instance Method Details
#define ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/leaves/vcs/subversion.rb', line 16 def define namespace :svn do desc "Bring changes from the repository into the working copy." task :update do sh "svn update" end desc "Print the status of working copy files and directories." task :status do sh "svn status" end desc "Display local modifications in the working copy." task :diff do sh "svn diff" end end self end |