Skip to content

Commit

Permalink
golines
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera committed Dec 19, 2024
1 parent 48bbe63 commit 52eb8cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build/golines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ else
fi

# Find all .go files in the project directory and its subdirectories, ignoring .pb.go and .pb_encoding.go files
find "${ROOT_DIR}" -type f -name "*.go" ! -name "*.pb.go" ! -name "*.pb_encoding.go" | while read -r file; do
find "${ROOT_DIR}" -type f -name "*.go" ! -name "*.pb.go" ! -name "*_test.go" ! -name "*.pb_encoding.go" | while read -r file; do
echo "Processing $file..."
golines --reformat-tags --shorten-comments --write-output --max-len=80 "$file"
golines --reformat-tags --shorten-comments --write-output --max-len=140 "$file"
done

echo "✅ All files processed."

0 comments on commit 52eb8cd

Please sign in to comment.