Class: RakeDotNet::SvnCmd

Inherits:
Cli
  • Object
show all
Defined in:
lib/rake_dotnet.rb

Direct Known Subclasses

SvnExport, SvnInfo

Instance Attribute Summary

Attributes inherited from Cli

#bin, #search_paths

Instance Method Summary collapse

Methods inherited from Cli

#exe, #search_for_exe

Constructor Details

#initialize(params = {}) ⇒ SvnCmd

Returns a new instance of SvnCmd.



1115
1116
1117
1118
1119
1120
1121
# File 'lib/rake_dotnet.rb', line 1115

def initialize(params={})
	sps = params[:search_paths] || []
	sps << File.join(TOOLS_DIR, 'svn', 'bin')
	sps << File.join(ENV['PROGRAMFILES'], 'subversion', 'bin')
	sps << File.join(ENV['PROGRAMFILES'], 'svn', 'bin')
	super(params.merge({:exe_name=>'svn.exe',:search_paths=>sps}))
end

Instance Method Details

#cmdObject



1123
1124
1125
# File 'lib/rake_dotnet.rb', line 1123

def cmd
	return super
end