aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/Rakefile')
-rwxr-xr-xactiverecord/Rakefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index ed1636ca99..2918cc4df6 100755
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -60,6 +60,12 @@ Rake::RDocTask.new { |rdoc|
rdoc.rdoc_files.include('dev-utils/*.rb')
}
+# Enhance rdoc task to copy referenced images also
+task :rdoc do
+ FileUtils.mkdir_p "doc/files/examples/"
+ FileUtils.copy "examples/associations.png", "doc/files/examples/associations.png"
+end
+
# Create compressed packages
@@ -252,4 +258,4 @@ task :release => [:package] do
first_file = false
end
end
-end \ No newline at end of file
+end