diff options
author | Jade Lovelace <lix@jade.fyi> | 2024-04-07 20:05:19 -0700 |
---|---|---|
committer | Jade Lovelace <lix@jade.fyi> | 2024-04-08 15:40:12 -0700 |
commit | 06f17a5c78c33120afd71a94f907bfdabd5c40aa (patch) | |
tree | 881e7af117ed774480b586decabce89f64b99330 /flake.nix | |
parent | 6fcab7ee9528123e0f115e6d79ea694bca6cd426 (diff) |
release-notes: check with pre-commit
This required making the build-release-notes script understand how to
check multiple directories.
Change-Id: I057f5f636155ab6c6fb5755da5217b7e72249ece
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -344,6 +344,15 @@ enable = true; excludes = [ "^tests/functional/lang/" ]; }; + release-notes = { + enable = true; + package = pkgs.build-release-notes; + files = "^doc/manual/rl-next(-dev)?"; + pass_filenames = false; + entry = '' + ${lib.getExe pkgs.build-release-notes} doc/manual/rl-next doc/manual/rl-next-dev + ''; + }; # TODO: Once the test suite is nicer, clean up and start # enforcing trailing whitespace on tests that don't explicitly # check for it. |