projects
/
ruby-edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13ed48
)
Added a publish task.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Thu, 5 Apr 2007 19:37:10 +0000
(21:37 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Thu, 5 Apr 2007 19:37:10 +0000
(21:37 +0200)
Rakefile
patch
|
blob
|
history
diff --git
a/Rakefile
b/Rakefile
index f1be607cfe8ff2729b17f5f4986d55e320c05655..9048ee3323fa87477130b8988872df5cd6cc318c 100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-6,6
+6,8
@@
require "rake/packagetask"
require "rake/contrib/compositepublisher"
require "rake/contrib/sshpublisher"
+PKG_NAME = "ruby-edje"
+
CLOBBER.include("src/*.{s,}o")
ext_obj = Dir["src/*.c"].map { |f| f.sub(/\.[^.]+$/, ".o") }
@@
-43,3
+45,11
@@
Rake::RDocTask.new do |t|
"src/rb_edje_main.c", "src/rb_edje.c", "src/rb_part.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