| author | |
| committer | |
| log | 477879333e91dd917a027d62db1804e5540b72d4 |
| tree | 0b7898e563bcfd1ff3bdacd362bf9df78082b677 |
| parent | 4560b93009d4f4c2e8b0077c5ea9cc7b61050d32 |
2 files changed, 2 insertions(+), 3 deletions(-)
docs/commands/fetch.md+1-2| ... | ... | @@ -11,10 +11,9 @@ For a full reference on the fields available in `deps.zig` you can check [here]( |
| 11 | 11 | ### Adding `deps.zig` to your `build.zig` |
| 12 | 12 | ```diff |
| 13 | 13 | const std = @import("std"); |
| 14 | const Builder = std.build.Builder; | |
| 15 | 14 | +const deps = @import("./deps.zig"); |
| 16 | 15 | |
| 17 | pub fn build(b: *Builder) void { | |
| 16 | pub fn build(b: *std.build.Builder) void { | |
| 18 | 17 | const target = b.standardTargetOptions(.{}); |
| 19 | 18 | |
| 20 | 19 | const mode = b.standardReleaseOptions(); |
docs/deps.zig.md+1-1| ... | ... | @@ -6,7 +6,7 @@ This file is generated by [`zigmod fetch`](commands/fetch.md) and is an amalgama |
| 6 | 6 | The relative path root to which all dependency sources are saved. Currently always `.zigmod/deps`. |
| 7 | 7 | |
| 8 | 8 | ### `addAllTo` |
| 9 | - Type: `pub fn (exe: *build.LibExeObjStep) void` | |
| 9 | - Type: `pub fn (exe: *std.build.LibExeObjStep) void` | |
| 10 | 10 | A helper function to add all of the packages, C files, and system libraries to the passed exectuable. It will also automatically link libC in the event that any C files are found in the dependency tree. |
| 11 | 11 | |
| 12 | 12 | ### `_ids` |