mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
codegen codecs for nomad structs
`ls *[!_test].go` was ignoring any file that ends with `s.go` (or any of the letter inside `[]`), including `structs.go`!
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
FILES="$(ls *[!_test].go | tr '\n' ' ')"
|
||||
FILES="$(ls ./*.go | grep -v -e _test.go -e .generated.go | tr '\n' ' ')"
|
||||
codecgen -d 100 -o structs.generated.go ${FILES}
|
||||
|
||||
Reference in New Issue
Block a user