WriteFile.addCopyDirectory should include all files by default

This commit is contained in:
Carl Åstholm 2024-03-03 20:20:25 +01:00
parent 27c8f895eb
commit 8ce3a8b604

View File

@ -47,7 +47,7 @@ pub const Directory = struct {
/// Only file paths that end in any of these suffixes will be included in copying. /// Only file paths that end in any of these suffixes will be included in copying.
/// `null` means that all suffixes will be included. /// `null` means that all suffixes will be included.
/// `exclude_extensions` takes precedence over `include_extensions`. /// `exclude_extensions` takes precedence over `include_extensions`.
include_extensions: ?[]const []const u8 = &.{".h"}, include_extensions: ?[]const []const u8 = null,
pub fn dupe(self: Options, b: *std.Build) Options { pub fn dupe(self: Options, b: *std.Build) Options {
return .{ return .{