about summary refs log tree commit diff stats
path: root/templates/rust/cog.toml
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 16:48:17 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 16:48:17 +0200
commit72e196d31ddebdf7a517f5661d56cf955095e104 (patch)
tree3da732d373ec210518ef998faf5a7dc446ab27f9 /templates/rust/cog.toml
parentfix(common/scripts/cprh.sh): Remove (diff)
downloadflake-templates-72e196d31ddebdf7a517f5661d56cf955095e104.tar.gz
flake-templates-72e196d31ddebdf7a517f5661d56cf955095e104.zip
fix(templates/rust/cog.toml): Update to perform new `reuse lint`
Diffstat (limited to 'templates/rust/cog.toml')
-rw-r--r--templates/rust/cog.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/rust/cog.toml b/templates/rust/cog.toml
index b4c68e1..7c7372c 100644
--- a/templates/rust/cog.toml
+++ b/templates/rust/cog.toml
@@ -3,10 +3,10 @@ branch_whitelist = ["main", "prime"]
 ignore_merge_commits = false
 
 pre_bump_hooks = [
-  "nix flake check",                     # verify the project builds
-  "./scripts/renew_copyright_header.sh", # update the license header in each file
-  "cargo set-version {{version}}",       # bump version in Cargo.toml
-  "nix fmt",                             # format
+  "reuse lint",                          # Check licensing status.
+  "nix flake check",                     # Verify the project builds.
+  "cargo set-version {{version}}",       # Bump version in Cargo.toml.
+  "nix fmt",                             # Format.
 ]
 post_bump_hooks = [
   "git push",