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:
Mahmood Ali
2019-05-01 12:42:55 -04:00
parent 2306928036
commit 693de41ff2

View File

@@ -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}