consul/proto/pbpeering/deep-copy.sh

12 lines
237 B
Bash
Executable File

#!/usr/bin/env bash
readonly PACKAGE_DIR="$(dirname "${BASH_SOURCE[0]}")"
cd $PACKAGE_DIR
# Uses: https://github.com/globusdigital/deep-copy
deep-copy -pointer-receiver \
-type PeeringTrustBundle \
-o ./peering.deepcopy.go \
./