OpenMiInk/jfmt.sh
Hellings 1e953b8132 ok
2026-10-16 13:05:27 -04:00

7 lines
No EOL
248 B
Bash
Executable file

#!/usr/bin/env bash
git ls-files -co --exclude-standard | grep '\.java$' | sed 's/ /\\ /g' | 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"