Skip to content

Instantly share code, notes, and snippets.

View bahodge's full-sized avatar
🌈
exit vim by unplugging your monitors

Ben Hodge bahodge

🌈
exit vim by unplugging your monitors
View GitHub Profile
@nurpax
nurpax / test_runner.zig
Created January 1, 2024 10:30
zig test runner
// Modded from from https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b
// in your build.zig, you can specify a custom test runner:
// const tests = b.addTest(.{
// .target = target,
// .optimize = optimize,
// .test_runner = "test_runner.zig", // add this line
// .root_source_file = .{ .path = "src/main.zig" },
// });