From 45db469554f528dff5766584b51720dbe1f65ad5 Mon Sep 17 00:00:00 2001 From: atheesh Date: Thu, 15 Feb 2024 11:26:25 +0530 Subject: [PATCH] add logs --- scripts/protocgen.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 6b6c3bdfa..cee342492 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -6,7 +6,7 @@ echo "Generating gogo proto code" cd proto # Find all proto files but exclude "v1" paths -proto_dirs=$(find ./ -type f -path '*/v1/*' -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) +proto_dirs=$(find ./ -type f -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for proto_dir in $proto_dirs; do proto_files=$(find "${proto_dir}" -maxdepth 1 -name '*.proto') for f in $proto_files; do @@ -17,6 +17,7 @@ for proto_dir in $proto_dirs; do done cd .. +ls -l # move proto files to the right places cp -r github.com/cheqd/cheqd-node/* ./