Skip to content

Commit

Permalink
fixup! CLI and README improvements
Browse files Browse the repository at this point in the history
I forgot to adapt the regex for the README script
  • Loading branch information
piegamesde committed May 20, 2022
1 parent 033f3cf commit f71e61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let
rustfmt.enable = true;
update-readme = {
enable = true;
files = "((readme\\.pre\\.md|readme\\.post\\.md|^readme\\.nix)|\\.rs)$";
files = "((readme\\.md\\.in|^readme\\.nix)|\\.rs)$";
entry = toString (pkgs.writeShellScript "update-readme" ''
${pkgs.nix}/bin/nix-build ${toString ./readme.nix} -o readme && cp readme README.md
exec ${pkgs.git}/bin/git diff --quiet --exit-code -- README.md
Expand Down

0 comments on commit f71e61d

Please sign in to comment.