diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -40,6 +40,11 @@ pub fn build(b: *std.Build) void { }) }); bridge.root_module.addAnonymousImport("client.wasm", .{ .root_source_file = wasm.getEmittedBin() }); b.installArtifact(bridge); + if (target.result.os.tag == .linux) { + const catalog_test = b.addSystemCommand(&.{ "python3", "test/web/catalog.py" }); + catalog_test.addArtifactArg(bridge); + b.step("catalog-test", "Test local sites, controls, watcher and passive discovery").dependOn(&catalog_test.step); + } const run_bridge = b.addRunArtifact(bridge); run_bridge.addPassthruArgs(); b.step("serve", "Run the HTTP/WebSocket bridge (--upstream tcp:127.0.0.1:564)").dependOn(&run_bridge.step); |
