diff options
author | Luke Kanies <luke@madstop.com> | 2008-03-17 06:45:42 +0100 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-03-17 06:45:42 +0100 |
commit | 13c6de34951faa574ca53bba99505ddb9daa6c71 (patch) | |
tree | 878bed5668ed26e0893bdaea156733a7435fc654 /Rakefile | |
parent | 0e26a072fe48cbbb67cb54e6393369de6fe833f8 (diff) | |
download | puppet-13c6de34951faa574ca53bba99505ddb9daa6c71.tar.gz puppet-13c6de34951faa574ca53bba99505ddb9daa6c71.tar.xz puppet-13c6de34951faa574ca53bba99505ddb9daa6c71.zip |
Adding a rake taks for updating the trac docs
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -134,3 +134,11 @@ task :dailyclean do File.unlink(file) end end + +task :tracdocs do + require 'puppet' + require 'puppet/util/reference' + Puppet::Util::Reference.references.each do |ref| + sh "puppetdoc -m trac -r #{ref.to_s}" + end +end |