Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyizxx committed Jan 21, 2025
1 parent ee4809d commit a2dad59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

set -eo pipefail

# Debug: Print user info
echo "Current user: $(whoami)"
echo "User ID: $(id -u)"
echo "Group ID: $(id -g)"
echo "Groups: $(groups)"


protoc_gen_go() {
if ! grep "github.com/gogo/protobuf => github.com/regen-network/protobuf" go.mod &>/dev/null ; then
echo -e "\tPlease run this command from somewhere inside the axelar-core folder."
Expand Down Expand Up @@ -33,6 +40,9 @@ buf protoc \
--doc_opt=./docs/protodoc-markdown.tmpl,proto-docs.md \
$(find "$(pwd)/proto" -maxdepth 5 -name '*.proto') # this needs to remain unquoted because we want word splitting

echo "Current directory structure:"
ls -la

# move proto files to the right places
cp -r github.com/axelarnetwork/axelar-core/* ./
rm -rf github.com

0 comments on commit a2dad59

Please sign in to comment.