Commit Graph

11 Commits

Author SHA1 Message Date
Alexander
13d3d66d37
refactoring: remove un-used code, add go doc, fix ci (#199)
Refactoring, consisting of
 - remove unused method `isAuxiliaryLanguage` and `FileCountList`
   in order to reduce public API surfaces (go/java)
 - add GoDoc to public APIs
 - ci: java profile use latest go src
  It also now mimics https://docs.travis-ci.com/user/languages/go/#go-import-path
  for non-go build image, as code relies on internal imports.

TEST PLAN:
 - make test
2019-02-05 22:54:14 +01:00
M. J. Fromberger
8fcadc60dc Remove an unnecessary helper function.
The writeStringLn function repeats what fmt.Fprintln already does.  Since this
package already imports fmt, removing it reduces mass.

Signed-off-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
2019-01-08 08:46:36 -08:00
Denys Smirnov
03e4a029c2 fix json output for a single file; fixes #159
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-09-28 20:15:07 +03:00
Denys Smirnov
6712d4219f optimize line count and limit maximal file size to read; fixes #101
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-05-06 15:27:35 +03:00
Zachary Romero
35d103b4e4 Add counting mode, and only programming languages flags. (#110)
Signed-off-by: Zachary Romero <zacromero3@gmail.com>
2018-05-04 18:53:18 +03:00
Denys Smirnov
83cc32253e rename cli to cmd to follow go convention
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-04-30 12:59:25 +03:00
Manuel Carmona
d759fb8992 Added languages.go generator 2017-04-04 13:10:35 +02:00
Santiago M. Mola
dc55da2c6c update imports to srcd.works/simple-linguist.v1 (#11) 2016-12-09 10:38:38 +01:00
Santiago M. Mola
9d7d9da790 use gop.kg reference instead of github.com. (#6) 2016-09-09 09:14:36 +02:00
Máximo Cuadros
e0a990e4ea command improvements 2016-07-14 00:38:06 +02:00
Máximo Cuadros
180da1c6df basic command 2016-07-13 19:05:23 +02:00