OpenMiInk/jfmt.sh
Hellings b8c8ff98e2 Hi
2026-10-16 09:05:56 -04:00

6 lines
No EOL
229 B
Bash
Executable file

#!/usr/bin/env bash
git ls-files -co --exclude-standard | grep '\.java$' | xargs java \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
-jar google-java-format-1.37.0-all-deps.jar --replace
echo "java/done"