diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -40,6 +40,8 @@ pub fn build(b: *std.Build) void { }) }); bridge.root_module.addAnonymousImport("client.wasm", .{ .root_source_file = wasm.getEmittedBin() }); b.installArtifact(bridge); + b.installFile("web/prefix.py", "bin/9web-prefix"); + b.step("prefix-test", "Test opt-in generated-site URL relocation").dependOn(&b.addSystemCommand(&.{ "python3", "test/web/prefix.py" }).step); if (target.result.os.tag == .linux) { const catalog_test = b.addSystemCommand(&.{ "python3", "test/web/catalog.py" }); catalog_test.addArtifactArg(bridge); |
