diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -92,6 +92,9 @@ check-perlcritic: xargs awk '/^#!\/usr\/bin\/env perl$$/ { print FILENAME } { nextfile }' | \ xargs perlcritic --exclude=subroutine +check-nixfmt: + git ls-files | sor 'test -f' | grep -E '\.nix$$' | xargs nixfmt -c + FIXME-excludes = \ ':(exclude)Makefile' \ ':(exclude)etc/git/ignore' \ @@ -139,9 +142,9 @@ check-sync: exit 1; \ fi -check: check-shellcheck check-perlcritic check-fixme check-dirty-public \ - check-dirty-private check-dirty-pass check-opt check-pod \ - check-sync +check: check-shellcheck check-perlcritic check-nixfmt check-fixme \ + check-dirty-public check-dirty-private check-dirty-pass \ + check-opt check-pod check-sync @cd $(PRIV_CONFIG) && $(MAKE) $@ clean: |