File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,14 @@ Provides a package to be used by the zig package manager for C++ programs.
66
77| Refname | Catch2 version | Zig ` 0.12.x ` | Zig ` 0.13.x ` | Zig ` 0.14.0-dev ` |
88| :----------| :---------------| :------------:| :------------:| :----------------:|
9+ | ` 3.8.0 ` | ` v3.8.0 ` | ✅ | ✅ | ✅ |
910| ` 3.7.1+1 ` | ` v3.7.1 ` | ✅ | ✅ | ✅ |
1011
1112## Use
1213
1314Add the dependency in your ` build.zig.zon ` by running the following command:
1415``` bash
15- zig fetch --save git+https://github.com/allyourcodebase/catch2#3.7.1+1
16+ zig fetch --save git+https://github.com/allyourcodebase/catch2#3.8.0
1617```
1718
1819Then, in your ` build.zig ` :
Original file line number Diff line number Diff line change 11const std = @import ("std" );
22
3- const version = .{ .major = 3 , .minor = 7 , .patch = 1 };
3+ const version = .{ .major = 3 , .minor = 8 , .patch = 0 };
44
55pub fn build (b : * std.Build ) ! void {
66 const target = b .standardTargetOptions (.{});
Original file line number Diff line number Diff line change 11.{
22 .name = "catch2" ,
3- .version = "3.7.1 " ,
3+ .version = "3.8.0 " ,
44 .minimum_zig_version = "0.12.0" ,
55 .dependencies = .{
66 .upstream = .{
7- .url = "git+https://github.com/catchorg/Catch2?ref=v3.7.1#fa43b77429ba76c462b1898d6cd2f2d7a9416b14 " ,
8- .hash = "12203b77f3dc2161e6074743f5c9e7bcca49016380317e83bbc14ec293d80d9bb8fe " ,
7+ .url = "git+https://github.com/catchorg/Catch2?ref=v3.8.0#914aeecfe23b1e16af6ea675a4fb5dbd5a5b8d0a " ,
8+ .hash = "1220cabb0cff2e2cf376567f9c5e32d97488f6b1dd0e0ab1379c882cc9233f30dcd1 " ,
99 },
1010 },
1111 .paths = .{
You can’t perform that action at this time.
0 commit comments