added interpreters_map.go generation

fixed Interpreters comment
This commit is contained in:
Manuel Carmona
2017-04-17 08:19:53 +02:00
parent 6ddbb79af0
commit 2644a7c8da
8 changed files with 229 additions and 0 deletions

View File

@ -0,0 +1,11 @@
package slinguist
// CODE GENERATED AUTOMATICALLY WITH github.com/src-d/simple-linguist/cli/slinguist-generate
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: {{ getCommit }}
var languagesByInterpreter = map[string][]string{
{{range $interpreter, $languages := . -}}
"{{ $interpreter }}": { {{- $languages | formatStringSlice -}} },
{{end -}}
}