authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-06-05 00:37:14 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-06-05 00:37:14 -07:00
logb9c825d2e3f09d4aa99ee80e4c898cd062c20dfc
treead419df42de7ef6b4b7e4496ef1a9c07a3a988e9
parent1327c3c7840de02451bdf39b0400a966eb32e601

update to Zig release 0.8.0


4 files changed, 8 insertions(+), 8 deletions(-)

.circleci/config.yml+1-1
......@@ -15,7 +15,7 @@ jobs:
1515 - run: git submodule update --init --recursive
1616
1717 - 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
1919 - run: zig version
2020 - run: zig env
2121 - run: zig build -Dbootstrap
README.md+1-1
......@@ -17,7 +17,7 @@ A package manager for the Zig programming language.
1717- https://github.com/nektro/zigmod/releases
1818
1919## Built With
20- Zig master `0.8.0-dev.2711+11ae6c42c`
20- Zig master `0.8.0`
2121
2222### Build from Source
2323Initially,
docs/README.md+1-1
......@@ -8,7 +8,7 @@ You can learn more about Zig here:
88
99The rest of this documentation will assume you already have Zig installed.
1010
11As 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`.
11As 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`.
1212
1313## Download
1414You 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 {
4747 if (!map_item.found_existing) {
4848 const temp = try gpa.create(List);
4949 temp.* = List.init(gpa);
50 map_item.entry.value = temp;
50 map_item.value_ptr.* = temp;
5151 }
52 const tracking_list = map_item.entry.value;
52 const tracking_list = map_item.value_ptr.*;
5353 try tracking_list.append(item);
5454 }
5555
5656 var iter = map.iterator();
5757 while (iter.next()) |entry| {
58 std.debug.print(style.Bold ++ "{s}:\n", .{entry.key});
59 if (get_license(entry.key)) |license| {
58 std.debug.print(style.Bold ++ "{s}:\n", .{entry.key_ptr.*});
59 if (get_license(entry.key_ptr.*)) |license| {
6060 std.debug.print(style.Faint ++ "= {s}\n", .{license.url});
6161 }
6262 std.debug.print(style.ResetIntensity, .{});
63 for (entry.value.items) |item| {
63 for (entry.value_ptr.*.items) |item| {
6464 std.debug.print("- {s}\n", .{if (!std.mem.eql(u8, item.clean_path, "../..")) item.clean_path else "This"});
6565 }
6666 std.debug.print("\n", .{});