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|
"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
+