diff options
author | Karel Kočí <cynerd@email.cz> | 2023-03-16 12:43:29 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-03-16 12:43:29 +0100 |
commit | f4e8372bc0cd143ea30cd3c28ec581b73649cfe0 (patch) | |
tree | 685fabeaf44f0292e4f0a2c89e751e15789e2d3c | |
parent | df7fdb5bc098ebf2220235b2337a1517267ef04d (diff) | |
download | shellrc-f4e8372bc0cd143ea30cd3c28ec581b73649cfe0.tar.gz shellrc-f4e8372bc0cd143ea30cd3c28ec581b73649cfe0.tar.bz2 shellrc-f4e8372bc0cd143ea30cd3c28ec581b73649cfe0.zip |
flake: add check using statix
-rw-r--r-- | flake.nix | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,5 +24,8 @@ packages = selfPkgs // {default = selfPkgs.shellrc-bash;}; legacyPackages = pkgs.extend self.overlays.default; formatter = pkgs.alejandra; + checks.statix = + pkgs.runCommandNoCC "check-statix" {} + "${pkgs.statix}/bin/statix check ${./.} && touch $out"; }); } |