Skip to content

Commit 109d96f

Browse files
committed
Upgrade to Zig v0.14
1 parent b0c695c commit 109d96f

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ Demo with sound:
88
[![Demo]](https://github.com/user-attachments/assets/8ca127d7-23f6-45cd-82e9-49c51c4cdc42)
99

1010
## Building
11-
There are no system dependencies, so just clone and build with Zig v0.13:
11+
There are no system dependencies, so just clone and build with Zig v0.14:
1212

1313
`zig build -Doptimize=ReleaseFast`
1414

1515
Run with `zig-out/bin/terminal-doom`
1616

17+
To build with older versions of Zig, please use the corresponding git tag.
18+
1719
Terminal Doom uses the [libvaxis Zig library](https://github.com/rockorager/libvaxis) to render and handle keyboard and mouse events.
1820
If you ever want to make a TUI app, I highly recommend this library.
1921

build.zig.zon

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.{
2-
.name = "terminal-doom",
2+
.name = .terminaldoom,
33
.version = "0.1.0",
44
.dependencies = .{
55
.vaxis = .{
6-
.url = "git+https://github.com/rockorager/libvaxis#22dcdb6bf37e44393359737b8ef1d229a6dc9363",
7-
.hash = "1220c53b75e66a6558c900c36349d835429345999428291a244862c9ac54763f695f",
6+
.url = "git+https://github.com/rockorager/libvaxis?ref=main#c49abb48241e11682b7b8b05c79d20773f1ded98",
7+
.hash = "vaxis-0.1.0-BWNV_JEMCQBskZQsnlzh6GoyHSDgOi41bCoZIB2pW-E7",
88
},
99
},
1010
.paths = .{
@@ -13,4 +13,5 @@
1313
"README.md",
1414
"src",
1515
},
16+
.fingerprint = 0x8f643997c0e9f162,
1617
}

0 commit comments

Comments
 (0)