mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 14:43:05 -03:00
added interpreters_map.go generation
fixed Interpreters comment
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
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: fe8b44ab8a225b1ffa75b983b916ea22fee5b6f7
|
||||
|
||||
var languagesByInterpreter = map[string][]string{
|
||||
"bash": {"Shell"},
|
||||
"nush": {"Nu"},
|
||||
"python": {"Python"},
|
||||
"python2": {"Python"},
|
||||
"python3": {"Python"},
|
||||
"rc": {"Shell"},
|
||||
"sh": {"Shell"},
|
||||
"zsh": {"Shell"},
|
||||
}
|
@ -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 -}}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
---
|
||||
Nu:
|
||||
interpreters:
|
||||
- nush
|
||||
Shell:
|
||||
interpreters:
|
||||
- bash
|
||||
- rc
|
||||
- sh
|
||||
- zsh
|
||||
Python:
|
||||
interpreters:
|
||||
- python
|
||||
- python2
|
||||
- python3
|
Reference in New Issue
Block a user