blob: 3a21bbfc29b38fc87fa93e13d38131ee1936f792 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
RUBYFORGE_TRUNK_DIR = 'L:/rubyforge/trunk/coderay/trunk'
namespace :rubyforge do
desc 'Export trunk to Rubyforge working copy via SVN'
task :export do
system 'svn st'
puts 'Exporting changelog.'
system 'svn log > ../changelog.txt'
system "svn export #{`svn info`[/URL: (.*)/,1]}/ #{RUBYFORGE_TRUNK_DIR} --force"
cp '../changelog.txt', "#{RUBYFORGE_TRUNK_DIR}/.."
Dir.chdir RUBYFORGE_TRUNK_DIR do
system "svn st"
end
end
end
task :export => 'rubyforge:export'
|