commit 837cc3cbe0c19a52f88cbba0d38cc08a6c2d182b
parent 4e0832ca8f4776e37b953a8b1f32debb870d874b
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Thu, 31 Aug 2006 18:00:34 -0700
[project @ 2292a326a52e380f868216f43557c016c6064fee]
[project @ 33]
add deleting of old remote files during upload
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Rakefile b/Rakefile
@@ -5,7 +5,7 @@ require 'rake/packagetask'
task :default => [:doc, :package, :web]
task :web => ['doc', 'pkg'] do |t|
- sh 'rsync', '--rsh=ssh', '-av', *(t.prerequisites << "#{ENV['UC']}:web/pub/wmii")
+ sh 'rsync', '--rsh=ssh', '-av', '--delete', *(t.prerequisites << "#{ENV['UC']}:web/pub/wmii")
end
CLOBBER.include 'doc', 'pkg'