Skip to content

Commit

Permalink
Merge pull request #10552 from hdorio/deflate
Browse files Browse the repository at this point in the history
compress: add a deflate compressor
  • Loading branch information
andrewrk committed Jan 26, 2022
2 parents f0ddc7f + 490f067 commit 0c1df96
Show file tree
Hide file tree
Showing 74 changed files with 8,168 additions and 796 deletions.
17 changes: 15 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,25 @@ pub fn build(b: *Builder) !void {
.install_dir = .lib,
.install_subdir = "zig",
.exclude_extensions = &[_][]const u8{
"README.md",
// exclude files from lib/std/compress/
".gz",
".z.0",
".z.9",
".gz",
"rfc1951.txt",
"rfc1952.txt",
// exclude files from lib/std/compress/deflate/testdata
".expect",
".expect-noinput",
".golden",
".input",
"compress-e.txt",
"compress-gettysburg.txt",
"compress-pi.txt",
"rfc1951.txt",
// exclude files from lib/std/tz/
".tzif",
// others
"README.md",
},
.blank_extensions = &[_][]const u8{
"test.zig",
Expand Down
1 change: 1 addition & 0 deletions lib/std/compress.zig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub const gzip = @import("compress/gzip.zig");
pub const zlib = @import("compress/zlib.zig");

test {
_ = deflate;
_ = gzip;
_ = zlib;
}
Loading

0 comments on commit 0c1df96

Please sign in to comment.