mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
fixed release note templates: b.installArtifact
This commit is contained in:
parent
8efc65eefc
commit
8a2d077bd8
2 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,7 @@ Here is a complete `build.zig.zon` example:
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, in your `build.zig`'s `build` function, add the following before
|
Then, in your `build.zig`'s `build` function, add the following before
|
||||||
`exe.install()`:
|
`b.installArtifact(exe)`:
|
||||||
|
|
||||||
```zig
|
```zig
|
||||||
const zap = b.dependency("zap", .{
|
const zap = b.dependency("zap", .{
|
||||||
|
|
|
@ -34,7 +34,8 @@ Here is a complete `build.zig.zon` example:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, in your `build.zig`'s `build` function, add the following before `exe.install()`:
|
Then, in your `build.zig`'s `build` function, add the following before
|
||||||
|
`b.installArtifact(exe)`:
|
||||||
|
|
||||||
```zig
|
```zig
|
||||||
const zap = b.dependency("zap", .{
|
const zap = b.dependency("zap", .{
|
||||||
|
|
Loading…
Add table
Reference in a new issue