| author | |
| committer | |
| log | 236fb915cc1c3b59b47e609125b680743c9c1ec0 |
| tree | 11c8ef6b4d9552bff54eae23ed40d485529af381 |
| parent | e9388fde6495c2c6bf91cacd9e92f52ae0347a83 |
related #201782 files changed, 16 insertions(+), 0 deletions(-)
doc/build.zig.zon.md+8| ... | ... | @@ -12,6 +12,14 @@ build.zig. |
| 12 | 12 | |
| 13 | 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 | 23 | ### `version` |
| 16 | 24 | |
| 17 | 25 | String. Required. |
lib/init/build.zig.zon+8| ... | ... | @@ -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 | 9 | .name = "$", |
| 10 | ||
| 3 | 11 | // This is a [Semantic Version](https://semver.org/). |
| 4 | 12 | // In a future version of Zig it will be used for package deduplication. |
| 5 | 13 | .version = "0.0.0", |