build(cog.toml): Use `nix fmt` (treefmt) instead of only `cargo fmt`
This commit is contained in:
parent
7a95fa7d81
commit
86d00608eb
2
cog.toml
2
cog.toml
|
@ -26,7 +26,7 @@ ignore_merge_commits = false
|
||||||
pre_bump_hooks = [
|
pre_bump_hooks = [
|
||||||
"licensur -p -i" # update the license header in each file
|
"licensur -p -i" # update the license header in each file
|
||||||
"nix build", # verify the project builds
|
"nix build", # verify the project builds
|
||||||
"cargo fmt --all" # format
|
"nix fmt" # format
|
||||||
"cargo set-version {{version}}", # bump version in Cargo.toml
|
"cargo set-version {{version}}", # bump version in Cargo.toml
|
||||||
]
|
]
|
||||||
post_bump_hooks = [
|
post_bump_hooks = [
|
||||||
|
|
Reference in New Issue