Fields

source_dir: LazyPath,
install_dir: InstallDir,
install_subdir: []const u8,
exclude_extensions: []const []const u8 = ref,

File paths which end in any of these suffixes will be excluded from being installed.

blank_extensions: []const []const u8 = ref,

File paths which end in any of these suffixes will result in empty files being installed. This is mainly intended for large test.zig files in order to prevent needless installation bloat. However if the files were not present at all, then @import("test.zig") would be a compile error.