| author | |
| committer | |
| log | b9c825d2e3f09d4aa99ee80e4c898cd062c20dfc |
| tree | ad419df42de7ef6b4b7e4496ef1a9c07a3a988e9 |
| parent | 1327c3c7840de02451bdf39b0400a966eb32e601 |
4 files changed, 8 insertions(+), 8 deletions(-)
.circleci/config.yml+1-1| ... | @@ -15,7 +15,7 @@ jobs: | ... | @@ -15,7 +15,7 @@ jobs: |
| 15 | - run: git submodule update --init --recursive | 15 | - run: git submodule update --init --recursive |
| 16 | 16 | ||
| 17 | - run: apt -y install xz-utils jq | 17 | - run: apt -y install xz-utils jq |
| 18 | - run: ./download_zig.sh 0.8.0-dev.2711+11ae6c42c | 18 | - run: ./download_zig.sh 0.8.0 |
| 19 | - run: zig version | 19 | - run: zig version |
| 20 | - run: zig env | 20 | - run: zig env |
| 21 | - run: zig build -Dbootstrap | 21 | - run: zig build -Dbootstrap |
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 `0.8.0-dev.2711+11ae6c42c` | 20 | - Zig master `0.8.0` |
| 21 | 21 | ||
| 22 | ### Build from Source | 22 | ### Build from Source |
| 23 | Initially, | 23 | Initially, |
docs/README.md+1-1| ... | @@ -8,7 +8,7 @@ You can learn more about Zig here: | ... | @@ -8,7 +8,7 @@ You can learn more about Zig here: |
| 8 | 8 | ||
| 9 | The rest of this documentation will assume you already have Zig installed. | 9 | 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. The most recent release Zigmod was verified to work with is `0.8.0-dev.2711+11ae6c42c`. | 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. The most recent release Zigmod was verified to work with is `0.8.0`. |
| 12 | 12 | ||
| 13 | ## Download | 13 | ## Download |
| 14 | You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. | 14 | You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. |
src/cmd/license.zig+5-5| ... | @@ -47,20 +47,20 @@ pub fn execute(args: [][]u8) !void { | ... | @@ -47,20 +47,20 @@ pub fn execute(args: [][]u8) !void { |
| 47 | if (!map_item.found_existing) { | 47 | if (!map_item.found_existing) { |
| 48 | const temp = try gpa.create(List); | 48 | const temp = try gpa.create(List); |
| 49 | temp.* = List.init(gpa); | 49 | temp.* = List.init(gpa); |
| 50 | map_item.entry.value = temp; | 50 | map_item.value_ptr.* = temp; |
| 51 | } | 51 | } |
| 52 | const tracking_list = map_item.entry.value; | 52 | const tracking_list = map_item.value_ptr.*; |
| 53 | try tracking_list.append(item); | 53 | try tracking_list.append(item); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | var iter = map.iterator(); | 56 | var iter = map.iterator(); |
| 57 | while (iter.next()) |entry| { | 57 | while (iter.next()) |entry| { |
| 58 | std.debug.print(style.Bold ++ "{s}:\n", .{entry.key}); | 58 | std.debug.print(style.Bold ++ "{s}:\n", .{entry.key_ptr.*}); |
| 59 | if (get_license(entry.key)) |license| { | 59 | if (get_license(entry.key_ptr.*)) |license| { |
| 60 | std.debug.print(style.Faint ++ "= {s}\n", .{license.url}); | 60 | std.debug.print(style.Faint ++ "= {s}\n", .{license.url}); |
| 61 | } | 61 | } |
| 62 | std.debug.print(style.ResetIntensity, .{}); | 62 | std.debug.print(style.ResetIntensity, .{}); |
| 63 | for (entry.value.items) |item| { | 63 | for (entry.value_ptr.*.items) |item| { |
| 64 | std.debug.print("- {s}\n", .{if (!std.mem.eql(u8, item.clean_path, "../..")) item.clean_path else "This"}); | 64 | std.debug.print("- {s}\n", .{if (!std.mem.eql(u8, item.clean_path, "../..")) item.clean_path else "This"}); |
| 65 | } | 65 | } |
| 66 | std.debug.print("\n", .{}); | 66 | std.debug.print("\n", .{}); |