summaryrefslogtreecommitdiff
path: root/rake_tasks
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-01-12 14:39:03 +0000
committermurphy <murphy@rubychan.de>2009-01-12 14:39:03 +0000
commit837305b3fe228162e4ed9ebc201078a69c525433 (patch)
tree95702c72745d4ed3927b69874fed3635388aa743 /rake_tasks
parent97c9be3b3087f2b8c8e7d22960d00bde06bc7850 (diff)
downloadcoderay-837305b3fe228162e4ed9ebc201078a69c525433.tar.gz
Added rake task to copy the generated documentation over to the CodeRay website.
Diffstat (limited to 'rake_tasks')
-rw-r--r--rake_tasks/documentation.rake5
1 files changed, 5 insertions, 0 deletions
diff --git a/rake_tasks/documentation.rake b/rake_tasks/documentation.rake
index bc72f7b..c364348 100644
--- a/rake_tasks/documentation.rake
+++ b/rake_tasks/documentation.rake
@@ -20,3 +20,8 @@ Rake::RDocTask.new :doc do |rd|
set_rdoc_info rd
rd.rdoc_dir = 'doc'
end
+
+desc 'Copy the documentation over to the CodeRay website'
+task :copy_doc do
+ cp_r 'doc/.', '../../rails/coderay/public/doc'
+end