13 lines
303 B
Bash
Executable file
13 lines
303 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
FILES="$(ls ./*.go | grep -v -e _test.go -e .generated.go | tr '\n' ' ')"
|
|
codecgen \
|
|
-c github.com/hashicorp/go-msgpack/codec \
|
|
-st codec \
|
|
-d 100 \
|
|
-t codegen_generated \
|
|
-o structs.generated.go \
|
|
-nr="(^ACLCache$)|(^IdentityClaims$)" \
|
|
${FILES}
|