Sha256: 0529c5715a31e3dd2e0cf5bfbd262a6b257688db3394355a06361b24532a43c6
Contents?: true
Size: 366 Bytes
Versions: 10
Compression:
Stored size: 366 Bytes
Contents
require 'code_statistics' STATS_DIRECTORIES = [ %w(Library lib/), %w(Feature\ tests features/), %w(Unit\ tests spec/) ].collect { |name, dir| [ name, "#{dir}" ] }.select { |name, dir| File.directory?(dir) } desc "Report code statistics (KLOCs, etc) from the application" task :stats do CodeStatistics.new(*STATS_DIRECTORIES).to_s end
Version data entries
10 entries across 10 versions & 1 rubygems