Sfoglia il codice sorgente

run the whole test-suite circus with `nix flake check`

(because that is the purpose of that command as far as I understand it)
sbatial 2 anni fa
parent
commit
75037c65ff
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      flake.nix

+ 4 - 1
flake.nix

@@ -31,7 +31,7 @@
         };
 
         treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
-      in {
+      in rec {
         # For `nix fmt`
         formatter = treefmtEval.config.build.wrapper;
 
@@ -69,6 +69,9 @@
         # for `nix flake check`
         checks = {
           formatting = treefmtEval.config.build.check self;
+          build = packages.check;
+          test = packages.test;
+          lint = packages.clippy;
         };
       }
     );