Sha256: 2f5e5b9a151320fcf8e651e9cf3359f7f211b946844bee7dc55ccf95d04df452
Contents?: true
Size: 629 Bytes
Versions: 4
Compression:
Stored size: 629 Bytes
Contents
STATS_DIRECTORIES = [ %w(Helpers app/helpers), %w(Controllers app/controllers), %w(APIs app/apis), %w(Components components), %w(Functional\ tests test/functional), %w(Models app/models), %w(Unit\ tests test/unit), %w(Libraries lib/), %w(Integration\ tests test/integration) ].collect { |name, dir| [ name, "#{SHATTERED_ROOT}/#{dir}" ] }.select { |name, dir| File.directory?(dir) } desc "Report code statistics (KLOCs, etc) from the application" task :stats do require 'code_statistics' CodeStatistics.new(*STATS_DIRECTORIES).to_s end
Version data entries
4 entries across 4 versions & 2 rubygems