Auto-embed addon and asset files at compile time
build.zig scans module addon/ and assets/ directories, passes file lists as build options. main.zig uses comptime helpers to @embedFile each path and build the AddonPrefix table automatically. Adding or removing files no longer requires editing main.zig. Also renames markers addon files to match WoW addon name (Markers.toc → WorldMarkers.toc, Markers.lua → WorldMarkers.lua) and auto-generates loadAddonsDetour from the same module metadata.
This commit is contained in:
Reference in New Issue
Block a user