add writer interface to Server & move main to main.zig

This commit is contained in:
Techatrix
2022-07-31 23:38:27 +02:00
parent cf8baa3586
commit 75570aef3c
4 changed files with 426 additions and 368 deletions

View File

@@ -6,7 +6,7 @@ pub fn build(b: *std.build.Builder) !void {
const target = b.standardTargetOptions(.{});
const mode = b.standardReleaseOptions();
const exe = b.addExecutable("zls", "src/Server.zig");
const exe = b.addExecutable("zls", "src/main.zig");
const exe_options = b.addOptions();
exe.addOptions("build_options", exe_options);