Sha256: 2fd050ed230ad9fc235dbdd2799aec995f26b2417341a50b908c9f943fd781db

Contents?: true

Size: 901 Bytes

Versions: 8

Compression:

Stored size: 901 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'bundler'
Bundler::GemHelper.install_tasks

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

8 entries across 8 versions & 1 rubygems

Version Path
rails3-footnotes-4.0.0.pre.10 Rakefile
rails3-footnotes-4.0.0.pre.9 Rakefile
rails3-footnotes-4.0.0.pre.8 Rakefile
rails3-footnotes-4.0.0.pre.7 Rakefile
rails3-footnotes-4.0.0.pre.6 Rakefile
rails3-footnotes-4.0.0.pre.5 Rakefile
rails3-footnotes-4.0.0.pre.4 Rakefile
rails3-footnotes-4.0.0.pre.3 Rakefile