Skip to content

Commit

Permalink
Reworked Hoe so it can generate rdoc. Disabled generation of DOT diag…
Browse files Browse the repository at this point in the history
…rams.
  • Loading branch information
igal committed Jun 26, 2008
1 parent 4e50650 commit a0d4fd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Hoe.rake
Expand Up @@ -5,6 +5,8 @@ $LOAD_PATH.unshift('lib')
require 'automateit'
@interpreter = AutomateIt.new

ENV["NODOT"] = "NODOT" # Never generate those crappy rdoc diagrams

HoeInclude = {
:executables => Dir['bin/*'].reject{|t|t.match(/~/)}.map{|t|File.basename(t)},
:files => (%w(add2path.sh gpl.txt CHANGES.txt Hoe.rake Manifest.txt Rakefile README.txt TESTING.txt TODO.txt TUTORIAL.txt) + FileList["{bin,examples,docs,helpers,lib,misc,spec}/**/*"]).to_a.reject{|t| File.directory?(t)},
Expand All @@ -31,7 +33,7 @@ Hoe.new("AutomateIt", AutomateIt::VERSION.to_s) do |s|
s.url = "http://automateit.org/"
s.spec_extras = {
:platform => Gem::Platform::RUBY,
:rdoc_options => %w(--main README.txt --promiscuous --accessor class_inheritable_accessor=R --title) << title << %w(lib docs),
:rdoc_options => %w(--op doc --main README.txt --promiscuous --accessor class_inheritable_accessor=R --inline-source --line-numbers --title) << title << %w(lib),
:extra_rdoc_files => FileList[%w(README.txt TUTORIAL.txt TESTING.txt), "docs/*.txt"],
}
s.spec_extras.merge!(HoeInclude)
Expand Down

0 comments on commit a0d4fd8

Please sign in to comment.