| author | |
| committer | |
| log | 95f0dce7dae258fc2cf9947fdaad26d768902373 |
| tree | d044235689370b2ea18b1708b8e7cff00be4a000 |
| parent | b32aa99b8704efd892567c8a716fb6c9f4e48a36 |
related #201782 files changed, 16 insertions(+), 0 deletions(-)
doc/build.zig.zon.md+8| ... | @@ -12,6 +12,14 @@ build.zig. | ... | @@ -12,6 +12,14 @@ build.zig. |
| 12 | 12 | ||
| 13 | String. Required. | 13 | String. Required. |
| 14 | 14 | ||
| 15 | This is the default name used by packages depending on this one. For example, | ||
| 16 | when a user runs `zig fetch --save <url>`, this field is used as the key in the | ||
| 17 | `dependencies` table. Although the user can choose a different name, most users | ||
| 18 | will stick with this provided value. | ||
| 19 | |||
| 20 | It is redundant to include "zig" in this name because it is already within the | ||
| 21 | Zig package namespace. | ||
| 22 | |||
| 15 | ### `version` | 23 | ### `version` |
| 16 | 24 | ||
| 17 | String. Required. | 25 | String. Required. |
lib/init/build.zig.zon+8| ... | @@ -1,5 +1,13 @@ | ... | @@ -1,5 +1,13 @@ |
| 1 | .{ | 1 | .{ |
| 2 | // This is the default name used by packages depending on this one. For | ||
| 3 | // example, when a user runs `zig fetch --save <url>`, this field is used | ||
| 4 | // as the key in the `dependencies` table. Although the user can choose a | ||
| 5 | // different name, most users will stick with this provided value. | ||
| 6 | // | ||
| 7 | // It is redundant to include "zig" in this name because it is already | ||
| 8 | // within the Zig package namespace. | ||
| 2 | .name = "$", | 9 | .name = "$", |
| 10 | |||
| 3 | // This is a [Semantic Version](https://semver.org/). | 11 | // This is a [Semantic Version](https://semver.org/). |
| 4 | // In a future version of Zig it will be used for package deduplication. | 12 | // In a future version of Zig it will be used for package deduplication. |
| 5 | .version = "0.0.0", | 13 | .version = "0.0.0", |