tartrazine/internal/code-generator/generator
Alexander Bezzubov 9be0211f04
generator: skip symlinks on *nix and win
As Git on win does not support symlinks [1], we have to hard-code
the paths to fils under ./samples/ in Linguist codebase that are
known to be a symlink.

 1. https://github.com/git-for-windows/git/wiki/Symbolic-Links

TestPlan:
 - go test ./internal/code-generator/generator -run Test_GeneratorTestSuite

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2020-03-29 23:23:56 +02:00
..
test_files tokenizer: fix a bug and regenerate the code \w latest Go 2020-03-19 19:08:21 +01:00
aliases.go Sync to linguist 7.2.0: heuristics.yml support (#189) 2019-02-14 12:47:45 +01:00
colors.go Implement getting color code for languages 2019-07-19 23:59:46 +03:00
documentation.go Sync to linguist 7.2.0: heuristics.yml support (#189) 2019-02-14 12:47:45 +01:00
extensions.go write a canonical header for machine-generated files 2018-04-30 12:57:39 +03:00
filenames.go write a canonical header for machine-generated files 2018-04-30 12:57:39 +03:00
frequencies.go generator: skip symlinks on *nix and win 2020-03-29 23:23:56 +02:00
generator_test.go generator: mode debug output in case of failure 2020-03-25 14:20:26 +01:00
generator.go Sync to linguist 7.2.0: heuristics.yml support (#189) 2019-02-14 12:47:45 +01:00
heuristics_test.go Sync to linguist 7.2.0: heuristics.yml support (#189) 2019-02-14 12:47:45 +01:00
heuristics.go Improve detection of unsupported regexp syntax 2019-08-05 22:24:03 +03:00
interpreters.go write a canonical header for machine-generated files 2018-04-30 12:57:39 +03:00
langinfo.go Implement getting color code for languages 2019-07-19 23:59:46 +03:00
linguist-commit.go write a canonical header for machine-generated files 2018-04-30 12:57:39 +03:00
mimeType.go Sync to linguist 7.2.0: heuristics.yml support (#189) 2019-02-14 12:47:45 +01:00
types.go write a canonical header for machine-generated files 2018-04-30 12:57:39 +03:00
vendor.go Sync to linguist 7.2.0: heuristics.yml support (#189) 2019-02-14 12:47:45 +01:00