Merge pull request #5646 from hashicorp/some-ugorji-fixes
Codegen codec helpers for all nomad structs
This commit is contained in:
commit
f35ad92a8b
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
FILES="$(ls *[!_test].go | tr '\n' ' ')"
|
FILES="$(ls ./*.go | grep -v -e _test.go -e .generated.go | tr '\n' ' ')"
|
||||||
codecgen -d 100 -o structs.generated.go ${FILES}
|
codecgen -d 100 -o structs.generated.go ${FILES}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Match entry in vendor.json
|
# Match entry in vendor.json
|
||||||
GIT_TAG="v1.1.2"
|
GIT_TAG="0053ebfd9d0ee06ccefbfe17072021e1d4acebee"
|
||||||
echo "Installing codec/codecgen@${GIT_TAG} ..."
|
echo "Installing codec/codecgen@${GIT_TAG} ..."
|
||||||
|
|
||||||
# Either fetch in existing git repo or use go get to clone
|
# Either fetch in existing git repo or use go get to clone
|
||||||
|
|
Loading…
Reference in New Issue