aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-30 15:55:25 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-30 15:55:25 +0000
commitb921b5da156d33a7ced0656074f659854fb9082e (patch)
treef9f73bbebaeacdc01f9c8d94670083f38525e646 /activerecord/Rakefile
parent2bf223051effaaf08c23936aaac16df672ccc899 (diff)
downloadrails-b921b5da156d33a7ced0656074f659854fb9082e.tar.gz
rails-b921b5da156d33a7ced0656074f659854fb9082e.tar.bz2
rails-b921b5da156d33a7ced0656074f659854fb9082e.zip
Fixed association picture reference
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
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