| author | |
| committer | |
| log | e2daa4df453f55982cf43fb7fc162156532561f4 |
| tree | 1d0120cad5ddc6620903df3fa19677b32cc05007 |
| parent | 1deedb26f45635cf4d933cf4fe613eb392320559 |
changes from https://github.com/ziglang/zig/commit/a0a2ce92ca129d28e22c63f7bace1672c43776b5
closes #66
closes #686 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/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.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) |
| 22 | 22 | ||
| 23 | ### Build from Source | 23 | ### 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 | }; |
| 51 | 51 | ||
| 52 | fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void { | 52 | fn 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 | } |
| 56 | 56 |
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.531+3eb8d01f5`. | 13 | The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.2017+a0a2ce92c`. |
| 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/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 |
| 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.531+3eb8d01f5 | 6 | min_zig_version: 0.10.0-dev.2017+a0a2ce92c |
| 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 |