deps: update ws
This commit is contained in:
parent
5e51df69c3
commit
10b17f6021
3 changed files with 12 additions and 9 deletions
|
@ -11,14 +11,7 @@ pub fn build(b: *std.Build) void {
|
|||
.optimize = optimize,
|
||||
});
|
||||
|
||||
const zuri_mod = b.createModule(.{
|
||||
.source_file = .{ .path = "deps/ws/lib/zuri/src/zuri.zig" },
|
||||
});
|
||||
|
||||
exe.addAnonymousModule("ws", .{
|
||||
.source_file = .{ .path = "deps/ws/src/main.zig" },
|
||||
.dependencies = &.{.{ .name = "zuri", .module = zuri_mod }},
|
||||
});
|
||||
exe.addModule("ws", b.dependency("ws", .{}).module("ws"));
|
||||
|
||||
// need libnotify, so might as well link glib and use glib logging
|
||||
exe.linkLibC();
|
||||
|
|
11
build.zig.zon
Normal file
11
build.zig.zon
Normal file
|
@ -0,0 +1,11 @@
|
|||
.{
|
||||
.name = "ntfylisten",
|
||||
.version = "0.0.0",
|
||||
|
||||
.dependencies = .{
|
||||
.ws = .{
|
||||
.url = "https://github.com/nikneym/ws/archive/df714e6f851b75f05b11bfe539959b8e6646f415.tar.gz",
|
||||
.hash = "12207a08e2c53febf3b5661832376445a60b300702df9efa526b1c723ed126050ddb",
|
||||
},
|
||||
},
|
||||
}
|
1
deps/ws
vendored
1
deps/ws
vendored
|
@ -1 +0,0 @@
|
|||
Subproject commit d11513b70fa7b062bfa327af3377436a86d05b89
|
Loading…
Reference in a new issue