mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
When generating ugorji/go package, we should use github.com/hashicorp/go-msgpack/codec instead. Also fix the reference for codegen_generated
7 lines
199 B
Bash
Executable File
7 lines
199 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
codecgen -d 102 -t codegen_generated -o structs.generated.go structs.go
|
|
sed -i'' -e 's|"github.com/ugorji/go/codec|"github.com/hashicorp/go-msgpack/codec|g' structs.generated.go
|