| author | |
| committer | |
| log | 19e267c9f1fb4af1bcfc13ce3d55716bd9e7d28f |
| tree | 714d566a22a4eb9edc150674c303756155c86bae |
| parent | fcd70831ae5913e52ccc87149bcc99859eb0e81d |
| parent | 3551b51ec3b81a4351cc5814566b9d3ddd92954d |
| signature |
cmd/fetch- use FileSource4 files changed, 4 insertions(+), 4 deletions(-)
.circleci/config.yml+1-1| ... | ... | @@ -15,7 +15,7 @@ jobs: |
| 15 | 15 | - run: git submodule update --init --recursive |
| 16 | 16 | |
| 17 | 17 | - run: apt -y install xz-utils jq |
| 18 | - run: ./download_zig.sh 0.8.0 | |
| 18 | - run: ./download_zig.sh 0.9.0-dev.133+ff79b87fa | |
| 19 | 19 | - run: zig version |
| 20 | 20 | - run: zig env |
| 21 | 21 | - run: zig build -Dbootstrap |
README.md+1-1| ... | ... | @@ -17,7 +17,7 @@ A package manager for the Zig programming language. |
| 17 | 17 | - https://github.com/nektro/zigmod/releases |
| 18 | 18 | |
| 19 | 19 | ## Built With |
| 20 | - Zig master `0.8.0` | |
| 20 | - Zig master `0.9.0-dev.133+ff79b87fa` | |
| 21 | 21 | |
| 22 | 22 | ### Build from Source |
| 23 | 23 | Initially, |
docs/README.md+1-1| ... | ... | @@ -8,7 +8,7 @@ You can learn more about Zig here: |
| 8 | 8 | |
| 9 | 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`. | |
| 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.9.0-dev.133+ff79b87fa`. | |
| 12 | 12 | |
| 13 | 13 | ## Download |
| 14 | 14 | You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. |
src/cmd/fetch.zig+1-1| ... | ... | @@ -220,7 +220,7 @@ fn print_pkg_data_to(w: std.fs.File.Writer, notdone: *std.ArrayList(u.Module), d |
| 220 | 220 | while (notdone.items.len > 0) { |
| 221 | 221 | for (notdone.items) |mod, i| { |
| 222 | 222 | if (contains_all(mod.deps, done.items)) { |
| 223 | try w.print(" pub const _{s} = std.build.Pkg{{ .name = \"{s}\", .path = cache ++ \"/{}/{s}\", .dependencies = &[_]std.build.Pkg{{", .{ mod.id[0..12], mod.name, std.zig.fmtEscapes(mod.clean_path), mod.main }); | |
| 223 | try w.print(" pub const _{s} = std.build.Pkg{{ .name = \"{s}\", .path = std.build.FileSource{{ .path = cache ++ \"/{}/{s}\" }}, .dependencies = &[_]std.build.Pkg{{", .{ mod.id[0..12], mod.name, std.zig.fmtEscapes(mod.clean_path), mod.main }); | |
| 224 | 224 | for (mod.deps) |d| { |
| 225 | 225 | if (d.main.len > 0) { |
| 226 | 226 | try w.print(" _{s},", .{d.id[0..12]}); |