21d21baf8b
`ls *[!_test].go` was ignoring any file that ends with `s.go` (or any of the letter inside `[]`), including `structs.go`!
6 lines
143 B
Bash
Executable file
6 lines
143 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
FILES="$(ls ./*.go | grep -v -e _test.go -e .generated.go | tr '\n' ' ')"
|
|
codecgen -d 100 -o structs.generated.go ${FILES}
|