v0.0.262 ignore _gen files in bfcodegen checksum-calc
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 46s

This commit is contained in:
2023-09-18 10:42:43 +02:00
parent cdf2a6e76b
commit f5766d639c
3 changed files with 4 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ func GenerateIDSpecs(sourceDir string, destFile string) error {
files = langext.ArrFilter(files, func(v os.DirEntry) bool { return v.Name() != path.Base(destFile) })
files = langext.ArrFilter(files, func(v os.DirEntry) bool { return strings.HasSuffix(v.Name(), ".go") })
files = langext.ArrFilter(files, func(v os.DirEntry) bool { return !strings.HasSuffix(v.Name(), "_gen.go") })
langext.SortBy(files, func(v os.DirEntry) string { return v.Name() })
newChecksumStr := goext.GoextVersion