xin/bin/fmt
2023-06-14 10:45:39 -06:00

13 lines
249 B
Bash
Executable File

#!/bin/sh
set -e
find . -name \*.nix -exec nix fmt {} \+
find . -name \*.sh -exec shfmt -w {} \+
deadnix -f .
shfmt -w bin/deploy
shfmt -w bin/mkboot
# TODO: https://github.com/nerdypepper/statix/issues/68
statix check --ignore lib/default.nix .