projects
/
ruby-esmart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9254eff
)
Added a publish task.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 8 Apr 2007 12:07:59 +0000
(14:07 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 8 Apr 2007 12:07:59 +0000
(14:07 +0200)
Rakefile
patch
|
blob
|
history
diff --git
a/Rakefile
b/Rakefile
index fced7b39020eddd42e3163619a38fc2baa7d7bc7..b0948ee4cb5a4448611c37a75ce65b9f47e759af 100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-6,6
+6,8
@@
require "rake/packagetask"
require "rake/contrib/compositepublisher"
require "rake/contrib/sshpublisher"
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|
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
"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
+