lib/gamebox/templates/template_app/Rakefile in gamebox-0.2.1 vs lib/gamebox/templates/template_app/Rakefile in gamebox-0.3.2

- old
+ new

@@ -2,20 +2,15 @@ $: << libdir confdir = File.dirname(__FILE__)+"/config" $: << confdir require 'environment' -require 'gamebox/tasks/gamebox_tasks' +$: << GAMEBOX_PATH +load "tasks/gamebox_tasks.rake" STATS_DIRECTORIES = [ %w(Source src/), %w(Config config/), %w(Maps maps/), %w(Unit\ tests specs/), %w(Libraries lib/), -].collect { |name, dir| [ name, "#{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 +].collect { |name, dir| [ name, "#{APP_ROOT}/#{dir}" ] }.select { |name, dir| File.directory?(dir) }