Skip to content

Commit bf6443f

Browse files
committed
harmonize scripty build settings
1 parent a97a444 commit bf6443f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.zig

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ pub fn build(b: *std.Build) !void {
1010
"When building the SuperHTML CLI tool force a specific version, bypassing 'git describe'",
1111
)) |v| .{ .commit = v } else getVersion(b);
1212

13-
const scripty = b.dependency("scripty", .{});
14-
1513
const enable_tracy = b.option(bool, "tracy", "Enable Tracy profiling") orelse false;
1614

1715
const tracy = b.dependency("tracy", .{ .enable = enable_tracy });
16+
const scripty = b.dependency("scripty", .{
17+
.target = target,
18+
.optimize = optimize,
19+
.tracy = enable_tracy,
20+
});
1821

1922
const superhtml = b.addModule("superhtml", .{
2023
.root_source_file = b.path("src/root.zig"),

0 commit comments

Comments
 (0)