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:...@@ -15,7 +15,7 @@ jobs:
15 - run: git submodule update --init --recursive15 - run: git submodule update --init --recursive
1616
17 - run: apt -y install xz-utils jq17 - run: apt -y install xz-utils jq
18 - run: ./download_zig.sh 0.8.018 - run: ./download_zig.sh 0.9.0-dev.133+ff79b87fa
19 - run: zig version19 - run: zig version
20 - run: zig env20 - run: zig env
21 - run: zig build -Dbootstrap21 - run: zig build -Dbootstrap
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 `0.8.0`20- Zig master `0.9.0-dev.133+ff79b87fa`
2121
22### Build from Source22### Build from Source
23Initially,23Initially,
docs/README.md+1-1
...@@ -8,7 +8,7 @@ You can learn more about Zig here:...@@ -8,7 +8,7 @@ You can learn more about Zig here:
88
9The rest of this documentation will assume you already have Zig installed.9The 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
13## Download13## Download
14You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source.14You 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,7 +220,7 @@ fn print_pkg_data_to(w: std.fs.File.Writer, notdone: *std.ArrayList(u.Module), d
220 while (notdone.items.len > 0) {220 while (notdone.items.len > 0) {
221 for (notdone.items) |mod, i| {221 for (notdone.items) |mod, i| {
222 if (contains_all(mod.deps, done.items)) {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 for (mod.deps) |d| {224 for (mod.deps) |d| {
225 if (d.main.len > 0) {225 if (d.main.len > 0) {
226 try w.print(" _{s},", .{d.id[0..12]});226 try w.print(" _{s},", .{d.id[0..12]});