nixos-config/scripts/pint-fmt
2024-10-23 12:35:07 -03:00

8 lines
122 B
Bash
Executable file

#!/bin/sh
file="$(mktemp --tmpdir=/dev/shm).php"
cat - >"$file"
./vendor/bin/pint --quiet "$file"
cat "$file"
rm "$file"