feat: read config.toml on program start

We just read it, don't actually parse any of the TOML.
Well, the library does, we just don't do anything /w it
This commit is contained in:
2022-09-25 10:44:51 -03:00
parent 60dbf2f04f
commit 51115cba86
4 changed files with 70 additions and 32 deletions

View File

@@ -28,6 +28,9 @@ pub fn build(b: *std.build.Builder) void {
// Argument Parsing Library
exe.addPackagePath("clap", "lib/zig-clap/clap.zig");
// TOML Library
exe.addPackagePath("toml", "lib/zig-toml/src/toml.zig");
// Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig
const sdk = Sdk.init(b);
sdk.link(exe, .dynamic);