Sha256: fde75c84329dafd779011055f760b88983f9f15ecdd69a1afb0be3154d01fca0

Contents?: true

Size: 573 Bytes

Versions: 5

Compression:

Stored size: 573 Bytes

Contents

libdir = File.dirname(__FILE__)+"/lib"
$: << libdir
confdir = File.dirname(__FILE__)+"/config"
$: << confdir

require 'environment'
STATS_DIRECTORIES = [
  %w(Source            src/), 
  %w(Config            config/), 
  %w(Maps              maps/), 
  %w(Unit\ tests       specs/),
  %w(Libraries         lib/),
].collect { |name, dir| [ name, "#{APP_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

5 entries across 5 versions & 1 rubygems

Version Path
gamebox-0.0.1 lib/gamebox/template_app/Rakefile
gamebox-0.0.2 lib/gamebox/template_app/Rakefile
gamebox-0.0.3 lib/gamebox/template_app/Rakefile
gamebox-0.0.4 lib/gamebox/template_app/Rakefile
gamebox-0.0.5 lib/gamebox/template_app/Rakefile