| author | |
| committer | |
| log | 4dcf75a81415ae5e3bc105e0bd5b027ad4a00a12 |
| tree | 3b65452f44608ebc4e6ec0ff0c189437afda3dd2 |
| parent | df8e6780670678429cf2f535fd882a771a2aac9d |
closes #749 files changed, 9 insertions(+), 9 deletions(-)
.github/workflows/nightly.yml+1-1| ... | @@ -26,7 +26,7 @@ jobs: | ... | @@ -26,7 +26,7 @@ jobs: |
| 26 | - name: Setup Zig | 26 | - name: Setup Zig |
| 27 | uses: goto-bus-stop/setup-zig@v1 | 27 | uses: goto-bus-stop/setup-zig@v1 |
| 28 | with: | 28 | with: |
| 29 | version: "0.10.0-dev.2802+54454fd01" | 29 | version: "0.10.0-dev.3017+da94227f7" |
| 30 | 30 | ||
| 31 | - run: zig version | 31 | - run: zig version |
| 32 | - run: zig env | 32 | - run: zig env |
.github/workflows/push.yml+1-1| ... | @@ -19,7 +19,7 @@ jobs: | ... | @@ -19,7 +19,7 @@ jobs: |
| 19 | - name: Setup Zig | 19 | - name: Setup Zig |
| 20 | uses: goto-bus-stop/setup-zig@v1 | 20 | uses: goto-bus-stop/setup-zig@v1 |
| 21 | with: | 21 | with: |
| 22 | version: "0.10.0-dev.2802+54454fd01" | 22 | version: "0.10.0-dev.3017+da94227f7" |
| 23 | 23 | ||
| 24 | - run: zig version | 24 | - run: zig version |
| 25 | - run: zig env | 25 | - run: zig env |
README.md+1-1| ... | @@ -17,7 +17,7 @@ A package manager for the Zig programming language. | ... | @@ -17,7 +17,7 @@ A package manager for the Zig programming language. |
| 17 | - https://github.com/nektro/zigmod/releases | 17 | - https://github.com/nektro/zigmod/releases |
| 18 | 18 | ||
| 19 | ## Built With | 19 | ## Built With |
| 20 | - Zig master (at least `0.10.0-dev.2802+54454fd01`) | 20 | - Zig master (at least `0.10.0-dev.3017+da94227f7`) |
| 21 | - See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock) | 21 | - See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock) |
| 22 | 22 | ||
| 23 | ### Build from Source | 23 | ### Build from Source |
deps.zig+1-1| ... | @@ -51,7 +51,7 @@ pub const Package = struct { | ... | @@ -51,7 +51,7 @@ pub const Package = struct { |
| 51 | }; | 51 | }; |
| 52 | 52 | ||
| 53 | fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void { | 53 | fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void { |
| 54 | const min = std.SemanticVersion.parse("0.10.0-dev.2802+54454fd01") catch return; | 54 | const min = std.SemanticVersion.parse("0.10.0-dev.3017+da94227f7") catch return; |
| 55 | if (current.order(min).compare(.lt)) @panic(exe.builder.fmt("Your Zig version v{} does not meet the minimum build requirement of v{}", .{current, min})); | 55 | if (current.order(min).compare(.lt)) @panic(exe.builder.fmt("Your Zig version v{} does not meet the minimum build requirement of v{}", .{current, min})); |
| 56 | } | 56 | } |
| 57 | 57 |
docs/README.md+1-1| ... | @@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed. | ... | @@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed. |
| 10 | 10 | ||
| 11 | As Zig is still in development itself, if you plan to contribute to Zigmod you will need a master download of Zig. Those can be obtained from https://ziglang.org/download/#release-master. | 11 | As Zig is still in development itself, if you plan to contribute to Zigmod you will need a master download of Zig. Those can be obtained from https://ziglang.org/download/#release-master. |
| 12 | 12 | ||
| 13 | The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.2802+54454fd01`. | 13 | The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.3017+da94227f7`. |
| 14 | 14 | ||
| 15 | ## Download | 15 | ## Download |
| 16 | You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. | 16 | You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. |
src/common.zig+1-1| ... | @@ -299,7 +299,7 @@ pub fn add_files_package(alloc: std.mem.Allocator, cachepath: string, pkg_name: | ... | @@ -299,7 +299,7 @@ pub fn add_files_package(alloc: std.mem.Allocator, cachepath: string, pkg_name: |
| 299 | defer map.deinit(); | 299 | defer map.deinit(); |
| 300 | 300 | ||
| 301 | for (dirs) |dir_path| { | 301 | for (dirs) |dir_path| { |
| 302 | const dir = try mdir.openDir(dir_path, .{ .iterate = true }); | 302 | const dir = try mdir.openIterableDir(dir_path, .{}); |
| 303 | var walker = try dir.walk(alloc); | 303 | var walker = try dir.walk(alloc); |
| 304 | defer walker.deinit(); | 304 | defer walker.deinit(); |
| 305 | while (try walker.next()) |p| { | 305 | while (try walker.next()) |p| { |
src/util/funcs.zig+1-1| ... | @@ -113,7 +113,7 @@ pub fn file_list(alloc: std.mem.Allocator, dpath: string) ![]const string { | ... | @@ -113,7 +113,7 @@ pub fn file_list(alloc: std.mem.Allocator, dpath: string) ![]const string { |
| 113 | var list = std.ArrayList(string).init(alloc); | 113 | var list = std.ArrayList(string).init(alloc); |
| 114 | defer list.deinit(); | 114 | defer list.deinit(); |
| 115 | 115 | ||
| 116 | const dir = try std.fs.cwd().openDir(dpath, .{ .iterate = true }); | 116 | const dir = try std.fs.cwd().openIterableDir(dpath, .{}); |
| 117 | var walk = try dir.walk(alloc); | 117 | var walk = try dir.walk(alloc); |
| 118 | defer walk.deinit(); | 118 | defer walk.deinit(); |
| 119 | while (true) { | 119 | while (true) { |
zig.mod+1-1| ... | @@ -3,7 +3,7 @@ name: zigmod | ... | @@ -3,7 +3,7 @@ name: zigmod |
| 3 | main: src/lib.zig | 3 | main: src/lib.zig |
| 4 | license: MIT | 4 | license: MIT |
| 5 | description: A package manager for the Zig programming language. | 5 | description: A package manager for the Zig programming language. |
| 6 | min_zig_version: 0.10.0-dev.2802+54454fd01 | 6 | min_zig_version: 0.10.0-dev.3017+da94227f7 |
| 7 | dependencies: | 7 | dependencies: |
| 8 | - src: git https://github.com/yaml/libyaml tag-0.2.5 | 8 | - src: git https://github.com/yaml/libyaml tag-0.2.5 |
| 9 | id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc | 9 | id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc |
zigmod.lock+1-1| ... | @@ -8,7 +8,7 @@ git https://github.com/truemedian/hzzp commit-bf5aaf224e94561e035a631c3c40fbf02f | ... | @@ -8,7 +8,7 @@ git https://github.com/truemedian/hzzp commit-bf5aaf224e94561e035a631c3c40fbf02f |
| 8 | git https://github.com/nektro/iguanaTLS commit-09d9fe92f329484536dfb2b07cfa8b406151cde4 | 8 | git https://github.com/nektro/iguanaTLS commit-09d9fe92f329484536dfb2b07cfa8b406151cde4 |
| 9 | git https://github.com/MasterQ32/zig-uri commit-e879df3a236869f92298fbe2db3c25e6e84cfd4c | 9 | git https://github.com/MasterQ32/zig-uri commit-e879df3a236869f92298fbe2db3c25e6e84cfd4c |
| 10 | git https://github.com/nektro/zig-json commit-a091eaa9f9ae91c3875630ba1983b33ea04971a3 | 10 | git https://github.com/nektro/zig-json commit-a091eaa9f9ae91c3875630ba1983b33ea04971a3 |
| 11 | git https://github.com/nektro/zig-extras commit-b16f583d5af5c86c92237bf56fa8063a5e9961c3 | 11 | git https://github.com/nektro/zig-extras commit-01fae956e2f17aa992e717e041a3dd457d440b31 |
| 12 | git https://github.com/nektro/zig-range commit-4b2f12808aa09be4b27a163efc424dd4e0415992 | 12 | git https://github.com/nektro/zig-range commit-4b2f12808aa09be4b27a163efc424dd4e0415992 |
| 13 | git https://github.com/nektro/zig-detect-license commit-de5c285d999eea68b9189b48bb000243fef0a689 | 13 | git https://github.com/nektro/zig-detect-license commit-de5c285d999eea68b9189b48bb000243fef0a689 |
| 14 | git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c | 14 | git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c |