1 # vim: fileencoding=UTF-8 ft=ruby syn=ruby ts=2 sw=2 ai eol et si
3 # Copyright (c) 2009 Jörg W Mittag <mailto:JoergWMittag+Akkordarbeit@GoogleMail.Com>
4 # Copyright (c) 2009 Marc Rummel <mailto:Marc.Rummel+Akkordarbeit@GoogleMail.Com>
5 # This code is licensed under the terms of the MIT License (see LICENSE.rdoc)
9 taskdir = File.expand_path(File.dirname __FILE__).gsub(/(.*tasks).*?/, '\1')
10 basedir = File.expand_path File.join(taskdir, '..')
11 $LOAD_PATH.unshift basedir unless $LOAD_PATH.include? basedir
13 load 'akkordarbeit.gemspec'
14 include Akkordarbeit::Projectinfo
16 RDoc::Task.new do |rdoc|
17 rdoc.title = "#{NAME} - #{SUMMARY}"
18 rdoc.main = 'README.rdoc'
19 rdoc.rdoc_files.include RDOCFILES
20 rdoc.options = RDOCOPTIONS << "--include='#{basedir}'"