diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-02-18 14:10:20 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-02-19 16:26:30 -0300 |
commit | d45d3e3c30a5777147fe7505af47eec842208051 (patch) | |
tree | eba57e527c2f47348c105f0bafc15f70f1669ed0 /Rakefile | |
parent | 5d4a69976921a8f56ffe00b5730c65eda0ed48f4 (diff) | |
download | highline-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-- | Rakefile | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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 |