open-nomad/nomad/structs/generate.sh

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}