diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-09 23:42:41 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-09 23:42:41 +0000 |
commit | f3e375275964fe58b3962cffd33f89ba156e637e (patch) | |
tree | 9e90da016de8890edf17102bcbae74a752a6e002 /lib | |
parent | 77795d41bac1a7b76c8143ef0ea3d864178e57ed (diff) | |
download | redmine-f3e375275964fe58b3962cffd33f89ba156e637e.tar.gz redmine-f3e375275964fe58b3962cffd33f89ba156e637e.zip |
Added rake task to generate the yardoc (rake yard)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3630 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/yardoc.rake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake new file mode 100644 index 000000000..c98f3bd4f --- /dev/null +++ b/lib/tasks/yardoc.rake @@ -0,0 +1,11 @@ +begin + require 'yard' + + YARD::Rake::YardocTask.new do |t| + t.files = ['lib/**/*.rb', 'app/**/*.rb', 'vendor/plugins/**/*.rb'] + end + +rescue LoadError + # yard not installed (gem install yard) + # http://yardoc.org +end |