xin/bin/fmt

14 lines
265 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 .
statix check .