jetzig-framework / jetzig

Jetzig is a web framework written in Zig
MIT License
457 stars 21 forks source link

Streamline project build.zig #17

Closed bobf closed 6 months ago

bobf commented 6 months ago

Offload as much work as possible into new jetzigInit function provided by Jetzig's build.zig. This means that a new Jetzig project's build.zig is now almost completely vanilla with the exception of two extra lines:

const jetzig = @import("jetzig");
    try jetzig.jetzigInit(b, exe, .{});