| author | |
| committer | |
| log | 0ac15b9726d03819f0e8837ae0490e1b9890a799 |
| tree | 6c2247a7a99771cd0729c647709fd292f828848d |
| parent | 5b9579845dcc47de74dee2e2f17914ba20b15bec |
Also added the same description to doc/build.zig.zon.md2 files changed, 12 insertions(+), 0 deletions(-)
doc/build.zig.zon.md+7| ... | @@ -63,6 +63,13 @@ When this is provided, the package is found in a directory relative to the | ... | @@ -63,6 +63,13 @@ When this is provided, the package is found in a directory relative to the |
| 63 | build root. In this case the package's hash is irrelevant and therefore not | 63 | build root. In this case the package's hash is irrelevant and therefore not |
| 64 | computed. This field and `url` are mutually exclusive. | 64 | computed. This field and `url` are mutually exclusive. |
| 65 | 65 | ||
| 66 | #### `lazy` | ||
| 67 | |||
| 68 | Boolean. | ||
| 69 | |||
| 70 | When this is set to `true`, a package is declared to be lazily fetched. This | ||
| 71 | makes the dependency only get fetched if it is actually used. | ||
| 72 | |||
| 66 | ### `paths` | 73 | ### `paths` |
| 67 | 74 | ||
| 68 | List. Required. | 75 | List. Required. |
lib/init/build.zig.zon+5| ... | @@ -37,6 +37,11 @@ | ... | @@ -37,6 +37,11 @@ |
| 37 | // // build root. In this case the package's hash is irrelevant and therefore not | 37 | // // build root. In this case the package's hash is irrelevant and therefore not |
| 38 | // // computed. This field and `url` are mutually exclusive. | 38 | // // computed. This field and `url` are mutually exclusive. |
| 39 | // .path = "foo", | 39 | // .path = "foo", |
| 40 | |||
| 41 | // // When this is set to `true`, a package is declared to be lazily | ||
| 42 | // // fetched. This makes the dependency only get fetched if it is | ||
| 43 | // // actually used. | ||
| 44 | // .lazy = false, | ||
| 40 | //}, | 45 | //}, |
| 41 | }, | 46 | }, |
| 42 | 47 |