projects
/
ruby-evas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b6d1d8
)
Added a publish task.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 4 Apr 2007 19:33:39 +0000
(21:33 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 4 Apr 2007 19:33:39 +0000
(21:33 +0200)
Rakefile
patch
|
blob
|
history
diff --git
a/Rakefile
b/Rakefile
index 9f64a6f91163314e1c1a4c9700360e2f1dafa1ad..a53492017509f4ecb9a6f6f49ef072fd71b70a5c 100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-6,6
+6,8
@@
require "rake/packagetask"
require "rake/contrib/compositepublisher"
require "rake/contrib/sshpublisher"
+PKG_NAME = "ruby-evas"
+
CLOBBER.include("src/*.{s,}o")
ext_obj = Dir["src/*.c"].map { |f| f.sub(/\.[^.]+$/, ".o") }
@@
-54,3
+56,11
@@
Rake::RDocTask.new do |t|
"src/rb_rectangle.c", "src/rb_smart.c", "src/rb_text.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