mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-19 10:16:12 +03:00
14 lines
487 B
Zig
14 lines
487 B
Zig
const std = @import("std");
|
|
const gen = @import("build/mdgen/mdgen.zig");
|
|
|
|
pub fn main() !void {
|
|
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
|
const alloc = gpa.allocator();
|
|
|
|
const output = std.io.getStdOut().writer();
|
|
try gen.substitute(alloc, @embedFile("build/mdgen/ghostty_5_header.md"), output);
|
|
try gen.genConfig(output, false);
|
|
try gen.genKeybindActions(output);
|
|
try gen.substitute(alloc, @embedFile("build/mdgen/ghostty_5_footer.md"), output);
|
|
}
|