authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-06-19 16:25:32 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-06-19 16:25:32 -07:00
log104a20c4c3f95b770ca6bbdabe717412b4e5f342
treeaa0a8aa86c9aef3388e5133766aac498b8b41b6e
parentdd5c32c4fd294bfe52cfd12a6fa92573cb7e8847
parent19e267c9f1fb4af1bcfc13ce3d55716bd9e7d28f

Merge branch 'master' of https://github.com/nektro/zigmod


4 files changed, 4 insertions(+), 4 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
18 - run: ./download_zig.sh 0.9.0-dev.133+ff79b87fa
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`
20- Zig master `0.9.0-dev.133+ff79b87fa`
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`.
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.9.0-dev.133+ff79b87fa`.
1212
1313## Download
1414You 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
220220 while (notdone.items.len > 0) {
221221 for (notdone.items) |mod, i| {
222222 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 });
224224 for (mod.deps) |d| {
225225 if (d.main.len > 0) {
226226 try w.print(" _{s},", .{d.id[0..12]});