Sha256: 7bb2b5689547adf4095f99ec3b9962f418d94cc6e1472af9439b1d7edea32ae7
Contents?: true
Size: 849 Bytes
Versions: 3
Compression:
Stored size: 849 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Run tests for Footnotes.' Rake::TestTask.new(:test) do |t| t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = true end task :default => :test desc 'Generate documentation for Footnotes.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Footnotes' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('MIT-LICENSE') rdoc.rdoc_files.include('lib/**/*.rb') end begin require 'metric_fu' MetricFu::Configuration.run do |config| #skipping: churn, :stats config.metrics = [:saikuro, :flog, :flay, :reek, :roodi, :rcov] # config.graphs = [:flog, :flay, :reek, :roodi, :rcov] config.rcov[:rcov_opts] << "-Itest" end rescue LoadError end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails3-footnotes-4.0.0.pre.2 | Rakefile |
rails3-footnotes-4.0.0.pre.1 | Rakefile |
rails3-footnotes-4.0.0.pre | Rakefile |