summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-02-18 14:10:20 -0300
committerAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-02-19 16:26:30 -0300
commitd45d3e3c30a5777147fe7505af47eec842208051 (patch)
treeeba57e527c2f47348c105f0bafc15f70f1669ed0 /Rakefile
parent5d4a69976921a8f56ffe00b5730c65eda0ed48f4 (diff)
downloadhighline-d45d3e3c30a5777147fe7505af47eec842208051.tar.gz
Fix stats task
TODO: - Make use of better code metrics in the next version of HighLine
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/Rakefile b/Rakefile
index 5898be5..8c5eb3c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,6 +2,7 @@ require "rdoc/task"
require "rake/testtask"
require "rubygems/package_task"
require "bundler/gem_tasks"
+require "code_statistics"
require "rubygems"
@@ -35,11 +36,3 @@ end
Gem::PackageTask.new(SPEC) do |package|
# do nothing: I just need a gem but this block is required
end
-
-desc "Show library's code statistics"
-task :stats do
- require 'code_statistics'
- CodeStatistics.new( ["HighLine", "lib"],
- ["Functionals", "examples"],
- ["Units", "test"] ).to_s
-end