Skip to content

Commit

Permalink
Add telemetry stats (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbugli authored Nov 13, 2024
2 parents cca9975 + 1c7ea16 commit 2df8c0d
Show file tree
Hide file tree
Showing 5 changed files with 1,044 additions and 413 deletions.
12 changes: 5 additions & 7 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ PB=$REPO/protobuf

export PATH=/opt/.protoc/bin:$PWD/.protoc/bin:$PATH

# In some systems like Mac OS 13.0.1, the realpath defaults to
# the system installed one which does not support flags like
# --relative-path. This results in the scripts erroring out.
# The coreutils installed with Homebrew (as mentioned in README)
# installs GNU realpath which could be available as "grealpath"
# which actually works. Hence, the option to customize REALPATH
REALPATH=${REALPATH:-realpath}
REALPATH=${REALPATH:-$(if [[ "$OSTYPE" == "darwin"* ]]; then echo "grealpath"; else echo "realpath"; fi)}
if ! command -v $REALPATH &> /dev/null; then
echo "$REALPATH command not found. Please install it and try again."
exit 1
fi

GEN_PROFILE=${1:-go}

Expand Down
Loading

0 comments on commit 2df8c0d

Please sign in to comment.