tartrazine/internal/code-generator
Alexander Bezzubov 78eee0cf7e
generator: flag to debug building of bayesian classifier
It seems that reading ./samples/ from Linguist consumes
a different number of files from filesystem on different OSes.

This change adds ENRY_DEBUG env var to print some debug output
about calculations of token stats from  samples.

TestPlan:
 - ENRY_DEBUG=1 go test -v ./internal/code-generator/generator \
	-run Test_GeneratorTestSuite -testify.m TestGenerationFiles

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2020-03-29 19:35:49 +02:00
..
assets *: module rename to go-enry/go-enry/v4 2020-03-19 17:31:29 +01:00
generator generator: flag to debug building of bayesian classifier 2020-03-29 19:35:49 +02:00
main.go generator: drop platform-specific separator 2020-03-25 19:27:46 +01:00