Skip to content

Commit

Permalink
Release 3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
agagniere committed Jan 8, 2025
1 parent 83ce76e commit 4d37422
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ Provides a package to be used by the zig package manager for C++ programs.

| Refname | Catch2 version | Zig `0.12.x` | Zig `0.13.x` | Zig `0.14.0-dev` |
|:----------|:---------------|:------------:|:------------:|:----------------:|
| `3.8.0` | `v3.8.0` ||||
| `3.7.1+1` | `v3.7.1` ||||

## Use

Add the dependency in your `build.zig.zon` by running the following command:
```bash
zig fetch --save git+https://github.com/allyourcodebase/catch2#3.7.1+1
zig fetch --save git+https://github.com/allyourcodebase/catch2#3.8.0
```

Then, in your `build.zig`:
Expand Down
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const std = @import("std");

const version = .{ .major = 3, .minor = 7, .patch = 1 };
const version = .{ .major = 3, .minor = 8, .patch = 0 };

pub fn build(b: *std.Build) !void {
const target = b.standardTargetOptions(.{});
Expand Down
6 changes: 3 additions & 3 deletions build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.{
.name = "catch2",
.version = "3.7.1",
.version = "3.8.0",
.minimum_zig_version = "0.12.0",
.dependencies = .{
.upstream = .{
.url = "git+https://github.com/catchorg/Catch2?ref=v3.7.1#fa43b77429ba76c462b1898d6cd2f2d7a9416b14",
.hash = "12203b77f3dc2161e6074743f5c9e7bcca49016380317e83bbc14ec293d80d9bb8fe",
.url = "git+https://github.com/catchorg/Catch2?ref=v3.8.0#914aeecfe23b1e16af6ea675a4fb5dbd5a5b8d0a",
.hash = "1220cabb0cff2e2cf376567f9c5e32d97488f6b1dd0e0ab1379c882cc9233f30dcd1",
},
},
.paths = .{
Expand Down

0 comments on commit 4d37422

Please sign in to comment.