A CountLinesOfCode task.

Review Request #3005 - Created Oct. 20, 2015 and submitted

Information
Benjy Weinberger
pants
6110505...
Reviewers
pants-reviews
jsirois, nhoward_tw
- Shells out to cloc.
- Required some very minor refactoring of BinaryUtil, to support
  scripts that aren't qualified by system.

CI pending: https://travis-ci.org/pantsbuild/pants/builds/86517727

In case you're curious:

fozzie:[~/src/pants][cloc]$ ./pants cloc ::
http://cloc.sourceforge.net v 1.64  T=1.91 s (552.3 files/s, 59289.8 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Python                         735          18409          17412          60279
Java                           165           1623           1626           7013
Scala                           40            346            561           1718
Mustache                        38            183             34           1649
CSS                              4            114             52            832
Javascript                      38            130            112            666
Go                               8             17              3             80
Protocol Buffers                16             43             71             71
JSON                             4              0              0             35
C++                              3              8              0             31
C/C++ Header                     1              4              0             10
XSD                              1              0              0             10
XML                              1              0              0              7
-------------------------------------------------------------------------------
SUM:                          1054          20877          19871          72401
-------------------------------------------------------------------------------
John Sirois
Benjy Weinberger
Benjy Weinberger
Benjy Weinberger
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as 55290e2b5b7b4ed3e678282a49a11da6f3b2de78.

Loading...