From 65173ea839f44bceae1ed434a5c94e61be56f891 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 8 Apr 2007 14:07:59 +0200 Subject: [PATCH] Added a publish task. --- Rakefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Rakefile b/Rakefile index fced7b3..b0948ee 100644 --- a/Rakefile +++ b/Rakefile @@ -6,6 +6,8 @@ require "rake/packagetask" require "rake/contrib/compositepublisher" require "rake/contrib/sshpublisher" +PKG_NAME = "ruby-esmart" + CLOBBER.include("src/**/*.{s,}o") ext_libs = ["container", "draggies", "trans_x11", "file_dialog"].map do |lib| @@ -52,3 +54,12 @@ Rake::RDocTask.new do |t| "src/esmart_trans_x11/rb_esmart_trans_x11.c" ] end + +task :publish => [:rdoc] do + p = Rake::CompositePublisher.new + p.add(Rake::SshFreshDirPublisher.new("code-monkey.de", + "public_docs/" + + PKG_NAME, "doc")) + p.upload +end + -- 2.30.2