github.com/zoomfoo/nomad@v0.8.5-0.20180907175415-f28fd3a1a056/nomad/structs/generate.sh (about)

     1  #!/bin/bash
     2  set -e
     3  
     4  FILES="$(ls *[!_test].go | tr '\n' ' ')"
     5  codecgen -d 100 -o structs.generated.go ${FILES}