also looking at this
build: single-source the package and CLI version
#20
7 files
+40
-11
| @@ -35,11 +35,11 @@ Add to your `build.zig.zon`: | ||
| 35 | 35 | ```zig |
| 36 | 36 | .{ |
| 37 | 37 | .name = "my-project", |
| 38 | .version = "0.1.0", | |
| 38 | .version = "0.1.0", // Your project's version | |
| 39 | 39 | .dependencies = .{ |
| 40 | 40 | .@"zig-test-framework" = .{ |
| 41 | .url = "https://github.com/zig-utils/zig-test-framework/archive/refs/tags/v0.1.0.tar.gz", | |
| 42 | // Replace with actual hash after publishing | |
| 41 | .url = "https://github.com/zig-utils/zig-test-framework/archive/refs/tags/vX.Y.Z.tar.gz", | |
| 42 | // Replace X.Y.Z and the hash with the release you use | |
| 43 | 43 | }, |
| 44 | 44 | }, |
| 45 | 45 | } |