From ffe3fd8a719be8d02b03bac6bc8232a7bc9fa692 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 22 Aug 2023 17:15:50 -0400 Subject: Lint faster by grouping files by extension Previously I would lint every file individually, in serial. This took forever. Now I group the files by extension (by first getting the Namespace) and run each linter on all relevant files at once. This is so much faster its stupid. Also I added formatters back into the dev env because my editor needs them to autoformat. --- Biz/Bild.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Biz/Bild.nix') diff --git a/Biz/Bild.nix b/Biz/Bild.nix index 9017f17..b12b87a 100644 --- a/Biz/Bild.nix +++ b/Biz/Bild.nix @@ -123,12 +123,14 @@ in nixpkgs // { bild = rec { # this should just be dev tools buildInputs = with nixpkgs.pkgs; [ bild + black ctags figlet git gitlint lolcat nixpkgs.haskell.packages.${constants.ghcCompiler}.fast-tags + ormolu wemux ]; shellHook = '' -- cgit v1.2.3