commit 17b3a0ee123e3225312e55ee19cca877aa063f50
parent 8726785765f7e2b685113117372072b177be3611
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sat, 9 May 2020 15:07:16 +0200
Makefile: add fmt target
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -64,6 +64,9 @@ switch: assets setup
install-hooks:
if [ -e .git ]; then nix-shell -p git --run 'git config core.hooksPath .githooks'; fi
+fmt:
+ nixpkgs-fmt *.nix lib machines modules overlays/*.nix overlays/emacs pkgs tmp tools
+
# Cleaning
.PHONY: clean
clean: