diff options
Diffstat (limited to 'build/library.zig')
| -rw-r--r-- | build/library.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/library.zig b/build/library.zig index 049b4323..ebfd8596 100644 --- a/build/library.zig +++ b/build/library.zig @@ -4,7 +4,7 @@ const core = @import("core.zig"); const patches = @import("patches.zig"); /// pardes as a library, all a package that depends on it is given: the -/// `pardes-syntax` module (src/lib_syntax.zig), the grammars, highlighting +/// `pardes-syntax` module (core/lib_syntax.zig), the grammars, highlighting /// and themes for a program that draws source text itself. It takes /// tree-sitter and the grammars of its `tree-sitter` option and no other /// dependency, so nothing else is fetched (build.zig.zon). test/lib is such @@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void { const mod = b.addModule("pardes-syntax", .{ .target = target, .optimize = optimize, - .root_source_file = b.path("src/lib_syntax.zig"), + .root_source_file = b.path("core/lib_syntax.zig"), .link_libc = true, }); // A library's options: its grammars, nothing stamped, no window. @@ -29,7 +29,7 @@ pub fn build(b: *std.Build) void { const themes = core.generatedThemes(b, io, target, optimize); mod.addImport("generated_themes", themes); ts.wire(mod); - mod.addImport("c_heap", b.createModule(.{ .target = target, .optimize = optimize, .root_source_file = b.path("src/c_heap.zig") })); + mod.addImport("c_heap", b.createModule(.{ .target = target, .optimize = optimize, .root_source_file = b.path("core/c_heap.zig") })); // The editor, `pardes-editor`, to a package that asks for it: uucode, // mvzr and vaxis (with what its build names) are fetched then and only // then. Of vaxis it takes the grapheme width, which uucode alone feeds. |
