nix/pre-commit.bash

7 lines
122 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
nix flake check
nix run nixpkgs#alejandra -- --check .
# TODO: check commit message format