diff options
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,8 @@ alias b := build alias c := check +alias f := fmt +alias l := lint +alias p := pre-commit alias sw := switch alias up := upgrade @@ -17,6 +20,15 @@ build: check: nix flake check --impure +fmt: + pre-commit run alejandra && pre-commit run stylua + +lint: + pre-commit run statix && pre-commit run deadnix + +pre-commit: + pre-commit run + [linux] switch: sudo nixos-rebuild switch --impure --flake . |
