nix/pre-commit.bash

8 lines
122 B
Bash
Raw Normal View History

2023-09-19 20:56:24 -05:00
#!/usr/bin/env bash
set -eux
nix flake check
nix run nixpkgs#alejandra -- --check .
# TODO: check commit message format