nixos-config/scripts/pint-fmt

8 lines
122 B
Plaintext
Raw Normal View History

2024-10-23 12:35:07 -03:00
#!/bin/sh
file="$(mktemp --tmpdir=/dev/shm).php"
cat - >"$file"
./vendor/bin/pint --quiet "$file"
cat "$file"
rm "$file"