Sha256: af084f3e492efc4a1909b3cc223719197fcc77ca3ca6ca1cddf7c88ac53d591f
Contents?: true
Size: 660 Bytes
Versions: 2
Compression:
Stored size: 660 Bytes
Contents
require 'rake/testtask' require 'coveralls/rake/task' namespace :gem do require "bundler/gem_tasks" end Rake::TestTask.new do |t| t.verbose = true t.libs << 'lib' t.libs << 'test' t.test_files = FileList["test/**/*_test.rb"] end namespace :test do %w{end_to_end unit}.each do |suite| Rake::TestTask.new(suite.to_sym) do |t| t.verbose = true t.libs << 'lib' t.libs << 'test' t.test_files = FileList["test/#{suite}/**/*_test.rb"] end end end desc "Analyze code duplication" task :flay do system "flay lib/*.rb" end desc "Analyze code complexity" task :flog do system "find lib -name \*.rb | xargs flog" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rupert-0.0.2 | Rakefile |
rupert-0.0.1 | Rakefile |