Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
atheeshp committed Feb 15, 2024
1 parent 39bf3b9 commit 45db469
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/* ./
Expand Down

0 comments on commit 45db469

Please sign in to comment.