Sha256: aa93a09455ccdfb212ea71506faa0f4908b58be2fa50db51baeaf04c64ffe826
Contents?: true
Size: 1.01 KB
Versions: 4
Compression:
Stored size: 1.01 KB
Contents
# require 'simplecov' require 'rubocop/rake_task' require 'reek/rake/task' require 'roodi_task' task default: [:test] task test: [:kintama] desc 'Run Test Suite' task :kintama do sh 'ruby tests/ezmq.rb' end task audit: [:style, :complexity, :duplication, :design, :documentation] task style: [:rubocop] desc 'Enforce Style Conformance with RuboCop' RuboCop::RakeTask.new(:rubocop) do |task| task.patterns = ['lib/**/*.rb'] task.fail_on_error = false end task complexity: [:flog] desc 'Assess Complexity with Flog' # FlogTask.new :flog, 9000, ['lib'] task :flog do sh 'flog lib/**/*.rb' end task duplication: [:flay] task :flay do sh 'flay' end task design: [:roodi, :reek] desc 'Find Code Smells with Reek' Reek::Rake::Task.new(:reek) do |task| task.fail_on_error = false end task :rework do sh 'churn' end task :documentation do sh 'inch' end task generate: [:documents, :graphs] task :documents do sh 'yard' end task :graphs do sh 'bundle viz' sh 'yard graph | dot -Tpng > lib_graph.png' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ezmq-0.4.3 | Rakefile |
ezmq-0.4.2 | Rakefile |
ezmq-0.4.1 | Rakefile |
ezmq-0.4.0 | Rakefile |