2018-04-26 17:22:45 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2019-05-01 16:42:55 +00:00
|
|
|
FILES="$(ls ./*.go | grep -v -e _test.go -e .generated.go | tr '\n' ' ')"
|
2020-04-28 06:23:20 +00:00
|
|
|
codecgen \
|
|
|
|
-c github.com/hashicorp/go-msgpack/codec \
|
2020-05-11 18:14:10 +00:00
|
|
|
-st codec \
|
2020-04-28 06:23:20 +00:00
|
|
|
-d 100 \
|
|
|
|
-t codegen_generated \
|
|
|
|
-o structs.generated.go \
|
|
|
|
${FILES}
|