authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-05-22 09:00:03 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-05-22 09:00:03 -07:00
loge2daa4df453f55982cf43fb7fc162156532561f4
tree1d0120cad5ddc6620903df3fa19677b32cc05007
parent1deedb26f45635cf4d933cf4fe613eb392320559

update to zig 0.10.0-dev.2017+a0a2ce92c

changes from https://github.com/ziglang/zig/commit/a0a2ce92ca129d28e22c63f7bace1672c43776b5 closes #66 closes #68

6 files changed, 6 insertions(+), 6 deletions(-)

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/releases17- https://github.com/nektro/zigmod/releases
1818
19## Built With19## Built With
20- Zig master (at least `0.10.0-dev.531+3eb8d01f5`)20- Zig master (at least `0.10.0-dev.2017+a0a2ce92c`)
21- See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock)21- See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock)
2222
23### Build from Source23### Build from Source
deps.zig+1-1
...@@ -50,7 +50,7 @@ pub const Package = struct {...@@ -50,7 +50,7 @@ pub const Package = struct {
50};50};
5151
52fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {52fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {
53 const min = std.SemanticVersion.parse("0.10.0-dev.531+3eb8d01f5") catch return;53 const min = std.SemanticVersion.parse("0.10.0-dev.2017+a0a2ce92c") catch return;
54 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}));54 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}55}
5656
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.
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.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.
1212
13The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.531+3eb8d01f5`.13The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.2017+a0a2ce92c`.
1414
15## Download15## Download
16You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source.16You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source.
src/cmd/aquila/install.zig+1-1
...@@ -67,7 +67,7 @@ pub fn execute(args: [][]u8) !void {...@@ -67,7 +67,7 @@ pub fn execute(args: [][]u8) !void {
67 "--prefix", try std.fs.path.join(gpa, &.{ homepath, ".zigmod" }),67 "--prefix", try std.fs.path.join(gpa, &.{ homepath, ".zigmod" }),
68 "--cache-dir", try std.fs.path.join(gpa, &.{ cache.?, "zigmod", "zig" }),68 "--cache-dir", try std.fs.path.join(gpa, &.{ cache.?, "zigmod", "zig" }),
69 };69 };
70 const proc = try std.ChildProcess.init(argv, gpa);70 var proc = std.ChildProcess.init(argv, gpa);
71 proc.cwd = modpath;71 proc.cwd = modpath;
72 const term = try proc.spawnAndWait();72 const term = try proc.spawnAndWait();
73 switch (term) {73 switch (term) {
src/cmd/aquila/update.zig+1-1
...@@ -53,7 +53,7 @@ pub fn execute(args: [][]u8) !void {...@@ -53,7 +53,7 @@ pub fn execute(args: [][]u8) !void {
53 "--prefix", try std.fs.path.join(gpa, &.{ homepath, ".zigmod" }),53 "--prefix", try std.fs.path.join(gpa, &.{ homepath, ".zigmod" }),
54 "--cache-dir", try std.fs.path.join(gpa, &.{ cache.?, "zigmod", "zig" }),54 "--cache-dir", try std.fs.path.join(gpa, &.{ cache.?, "zigmod", "zig" }),
55 };55 };
56 const proc = try std.ChildProcess.init(argv, gpa);56 var proc = std.ChildProcess.init(argv, gpa);
57 proc.cwd = modpath;57 proc.cwd = modpath;
58 const term = try proc.spawnAndWait();58 const term = try proc.spawnAndWait();
59 switch (term) {59 switch (term) {
zig.mod+1-1
...@@ -3,7 +3,7 @@ name: zigmod...@@ -3,7 +3,7 @@ name: zigmod
3main: src/lib.zig3main: src/lib.zig
4license: MIT4license: MIT
5description: A package manager for the Zig programming language.5description: A package manager for the Zig programming language.
6min_zig_version: 0.10.0-dev.531+3eb8d01f56min_zig_version: 0.10.0-dev.2017+a0a2ce92c
7dependencies:7dependencies:
8 - src: git https://github.com/yaml/libyaml tag-0.2.58 - src: git https://github.com/yaml/libyaml tag-0.2.5
9 id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc9 id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc