Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to a prebuilt buildifier #1285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shs96c
Copy link
Collaborator

@shs96c shs96c commented Nov 22, 2024

No description provided.

@shs96c shs96c requested review from jin and cheister as code owners November 22, 2024 18:18

# Format java code
find "\\$$cwd" -type f -name "*.java" | xargs "\\$${javaformat}" --replace

# Run buildifier
\\$${buildifier} --lint fix --mode fix -r "\\$$cwd"
cd \\$$cwd
bazel run @buildifier_prebuilt//buildifier -- --lint fix --mode fix -r "\\$$cwd"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does using buildifier as a data dep not work? bazel running bazel run is a little odd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants