Skip to content

Commit

Permalink
Improve hc-scaffold cranelib filters (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Sep 24, 2024
1 parent 9587e26 commit a60d40e
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 @@ -242,7 +242,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 a60d40e

Please sign in to comment.