mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-18 22:23:07 -03:00
Maintenance: batch of minor changes (#183)
* exclude build artifacts from git * build: simplify building by using src-d/ci * bench: simplify&fix shell runners * build: simplify benchmarks* targets * test: remove dependency on single test suite * doc: rel image link + linguist cli difference highlight * suggestions from code review * bench: add fail fast to all shell runners Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
@ -14,7 +14,7 @@ go get gopkg.in/src-d/enry.v1/...
|
||||
|
||||
To build enry's CLI you must run
|
||||
|
||||
make build-cli
|
||||
make build
|
||||
|
||||
this will generate a binary in the project's root directory called `enry`. You can then move this binary to anywhere in your `PATH`.
|
||||
|
||||
@ -195,6 +195,7 @@ expression](https://github.com/github/linguist/blob/master/lib/linguist/heuristi
|
||||
for `*.sql` files right. This expression doesn't comply with the pattern for the
|
||||
rest in [heuristics.rb](https://github.com/github/linguist/blob/master/lib/linguist/heuristics.rb).
|
||||
|
||||
`enry` [CLI tool](#cli) does not require a full Git repository to be present in filesystem in order to report languages.
|
||||
|
||||
Benchmarks
|
||||
------------
|
||||
@ -203,7 +204,7 @@ Enry's language detection has been compared with Linguist's one. In order to do
|
||||
|
||||
We got these results:
|
||||
|
||||

|
||||

|
||||
|
||||
The histogram represents the number of files for which spent time in language
|
||||
detection was in the range of the time interval indicated in the x axis.
|
||||
|
Reference in New Issue
Block a user