github.com/uchennaokeke444/nomad@v0.11.8/nomad/structs/generate.sh (about)

     1  #!/bin/bash
     2  set -e
     3  
     4  FILES="$(ls ./*.go | grep -v -e _test.go -e .generated.go | tr '\n' ' ')"
     5  codecgen \
     6      -c github.com/hashicorp/go-msgpack/codec \
     7      -st codec \
     8      -d 100 \
     9      -t codegen_generated \
    10      -o structs.generated.go \
    11      ${FILES}