Skip to content

Commit

Permalink
correct bin script so the gem can run it; correct xtra_rdoc entry
Browse files Browse the repository at this point in the history
  • Loading branch information
twcamper committed Jun 28, 2011
1 parent ca6ce06 commit f9f7b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace :cuporter do
RDOC_OPTS = ["--all" , "--quiet" , "--line-numbers" , "--inline-source",
"--main", "README.textile",
"--title", "Cuporter: cucumber tag reporting"]
XTRA_RDOC = %w{bin/* README.textile LICENSE }
XTRA_RDOC = %w{bin/cuporter README.textile LICENSE }

Rake::RDocTask.new do |rd|
rd.rdoc_dir = "doc/rdoc"
Expand Down
4 changes: 1 addition & 3 deletions bin/cuporter
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ module Cuporter
end
end

if __FILE__ == $0
Cuporter.run
end
Cuporter.run

__END__
xsltproc --stringparam view feature lib/cuporter/formatters/xml_to_html.xslt new_feature.xml | ruby -e "f = STDIN.read; puts f.gsub(/\<\!--[\*\/]{2}--\>/, '')" | tee xslt_feature.html

0 comments on commit f9f7b15

Please sign in to comment.