Skip to content

Commit

Permalink
Improve hc-scaffold cranelib filters (#49) (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i authored Sep 24, 2024
1 parent fb9e3c0 commit 0aeff99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
hc-scaffold =
let
# Crane filters out all non-cargo related files. Define include filter with files needed for build.
nonCargoBuildFiles = path: _type: builtins.match ".*(gitignore|md)$" path != null;
nonCargoBuildFiles = path: _type: builtins.match ".*(gitignore|md|hbs)$" path != null;
includeFilesFilter = path: type:
(craneLib.filterCargoSources path type) || (nonCargoBuildFiles path type);
in
Expand Down

0 comments on commit 0aeff99

Please sign in to comment.