build.zig: ignore the compression test files

master
Andrew Kelley 2020-09-07 15:15:48 -07:00
parent 2328f40b7a
commit c15f39212e
1 changed files with 7 additions and 1 deletions

View File

@ -123,7 +123,13 @@ pub fn build(b: *Builder) !void {
.source_dir = "lib", .source_dir = "lib",
.install_dir = .Lib, .install_dir = .Lib,
.install_subdir = "zig", .install_subdir = "zig",
.exclude_extensions = &[_][]const u8{ "test.zig", "README.md" }, .exclude_extensions = &[_][]const u8{
"test.zig",
"README.md",
".z.0",
".z.9",
"rfc1951.txt",
},
}); });
const test_filter = b.option([]const u8, "test-filter", "Skip tests that do not match filter"); const test_filter = b.option([]const u8, "test-filter", "Skip tests that do not match filter");