nix/pre-commit.bash

6 lines
85 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
nix flake check
nix run nixpkgs#alejandra -- --check .