29 lines
901 B
Zig
29 lines
901 B
Zig
//! The protocol-conformance-test fixture as a binary package (docs/build-packages-plan.md):
|
|
//! this file names the binary and EXACTLY the modules its source imports —
|
|
//! build-support resolves each name from the domains this zon declares.
|
|
|
|
const std = @import("std");
|
|
const build_support = @import("build-support");
|
|
|
|
pub fn build(b: *std.Build) void {
|
|
const exe = build_support.userBinary(b, .{
|
|
.name = "protocol-conformance-test",
|
|
.root_source_file = b.path("protocol-conformance-test.zig"),
|
|
.imports = &.{
|
|
"block-protocol",
|
|
"channel",
|
|
"display-protocol",
|
|
"envelope",
|
|
"file-system",
|
|
"input-protocol",
|
|
"ipc",
|
|
"logging",
|
|
"process",
|
|
"scanout-protocol",
|
|
"time",
|
|
"vfs-protocol",
|
|
},
|
|
});
|
|
b.installArtifact(exe);
|
|
}
|