houston/houston-core

View on GitHub
templates/new-module/Rakefile

Summary

Maintainability
Test Coverage
begin
  require "bundler/setup"
rescue LoadError
  puts "You must `gem install bundler` and `bundle install` to run rake tasks"
end


# `rake test` and `rake test:all` are loaded from Houston
require_relative "test/dummy/houston"
Houston::Application.load_tasks


require "rdoc/task"

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title    = "<%= camelized %>"
  rdoc.options << "--line-numbers"
  rdoc.rdoc_files.include("README.rdoc")
  rdoc.rdoc_files.include("lib/**/*.rb")
end


<% unless options[:skip_gemspec] -%>
Bundler::GemHelper.install_tasks
<% end %>