14 lines
256 B
TOML
14 lines
256 B
TOML
|
imports = [ "git.hooks" ]
|
||
|
|
||
|
[devshell]
|
||
|
name = "GLaDOS"
|
||
|
|
||
|
[[commands]]
|
||
|
help = "update README.md from src/main.rs"
|
||
|
name = "update-readme"
|
||
|
command = "cargo readme --no-indent-headings -o README.md"
|
||
|
|
||
|
[git.hooks]
|
||
|
enable = true
|
||
|
pre-commit.text = "nix flake check"
|