mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
code generation move to internal/code-generator
This commit is contained in:
parent
d759fb8992
commit
665b7475e3
@ -1,3 +1,3 @@
|
||||
package slinguist
|
||||
|
||||
//go:generate go run cli/slinguist-generate/main.go
|
||||
//go:generate go run internal/code-generator/main.go
|
||||
|
@ -4,18 +4,18 @@ import (
|
||||
"io/ioutil"
|
||||
"log"
|
||||
|
||||
"srcd.works/simple-linguist.v1/cli/slinguist-generate/generator"
|
||||
"srcd.works/simple-linguist.v1/internal/code-generator/generator"
|
||||
)
|
||||
|
||||
const (
|
||||
languagesYAML = ".linguist/lib/linguist/languages.yml"
|
||||
langFile = "languages.go"
|
||||
languagesTmplPath = "cli/slinguist-generate/assets/languages.go.tmpl"
|
||||
languagesTmplPath = "internal/code-generator/assets/languages.go.tmpl"
|
||||
languagesTmpl = "languages.go.tmpl"
|
||||
|
||||
heuristicsRuby = ".linguist/lib/linguist/heuristics.rb"
|
||||
contentFile = "content.go"
|
||||
contentTmplPath = "cli/slinguist-generate/assets/content.go.tmpl"
|
||||
contentTmplPath = "internal/code-generator/assets/content.go.tmpl"
|
||||
contentTmpl = "content.go.tmpl"
|
||||
|
||||
commitPath = ".git/refs/heads/master"
|
Loading…
Reference in New Issue
Block a user