diff --git a/nomad/structs/generate.sh b/nomad/structs/generate.sh index 34147c918..04141c34a 100755 --- a/nomad/structs/generate.sh +++ b/nomad/structs/generate.sh @@ -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}