OpenCores
URL https://opencores.org/ocsvn/soc_maker/soc_maker/trunk

Subversion Repositories soc_maker

[/] [soc_maker/] [trunk/] [Rakefile] - Diff between revs 3 and 9

Show entire file | Details | Blame | View Log

Rev 3 Rev 9
Line 1... Line 1...
require 'rspec/core/rake_task'
require 'rspec/core/rake_task'
 
require 'rake/task'
 
 
begin
begin
  require 'bones'
  require 'bones'
rescue LoadError
rescue LoadError
  abort '### Please install the "bones" gem ###'
  abort '### Please install the "bones" gem ###'
Line 20... Line 21...
RSpec::Core::RakeTask.new(:spec) do |c|
RSpec::Core::RakeTask.new(:spec) do |c|
   c.ruby_opts="-w"
   c.ruby_opts="-w"
end
end
 
 
 
 
 
desc 'generate API documentation to doc/rdocs/index.html'
 
 
 
Rake::RDocTask.new do |rd|
 
  rd.rdoc_dir = 'doc/rdocs'
 
  rd.main = 'README.md'
 
  rd.rdoc_files.include 'README.md', 'LICENSE', "bin", "lib"
 
 
 
  rd.options << '--inline-source'
 
  rd.options << '--line-numbers'
 
  rd.options << '--all'
 
  rd.options << '--fileboxes'
 
  rd.options << '--diagram'
 
end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.