summaryrefslogtreecommitdiff
path: root/nix/checks.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-22 22:00:02 -0400
committerseth <[email protected]>2024-05-22 20:45:24 -0600
commit8fd8b7e53d59a034706dd7eaad6b608721ce3cdb (patch)
tree2ce7e4a8b7eafc9d8550a54aa6d4f34d678d76f5 /nix/checks.nix
parent329bf8a3384474cfe45ecae142dfb7d97b699aa2 (diff)
move to zola
Diffstat (limited to 'nix/checks.nix')
-rw-r--r--nix/checks.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/nix/checks.nix b/nix/checks.nix
deleted file mode 100644
index c7f6547..0000000
--- a/nix/checks.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- lib,
- runCommand,
- actionlint,
- biome,
- deadnix,
- formatter,
- eclint,
- statix,
- ...
-}: {
- actionlint = runCommand "check-actionlint" {} ''
- ${lib.getExe actionlint} ${../.github/workflows}/*
- touch $out
- '';
-
- biome-fmt = runCommand "check-biome-fmt" {} ''
- ${lib.getExe biome} format ${../.}/**/*
- touch $out
- '';
-
- biome-lint = runCommand "check-biome-lint" {} ''
- ${lib.getExe biome} lint ${../.}/**/*
- touch $out
- '';
-
- deadnix = runCommand "check-deadnix" {} ''
- ${lib.getExe deadnix} ${../.}
- touch $out
- '';
-
- "${formatter.pname}" = runCommand "check-${formatter.pname}" {} ''
- ${lib.getExe formatter} --check ${../.}
- touch $out
- '';
-
- eclint = runCommand "check-eclint" {} ''
- ${lib.getExe eclint} ${../.}/**/*
- touch $out
- '';
-
- statix = runCommand "check-statix" {} ''
- ${lib.getExe statix} check ${../.}
- touch $out
- '';
-}