Skip to content

Commit f387897

Browse files
committed
remove rpc file
1 parent 4b5b7b9 commit f387897

File tree

4 files changed

+0
-51
lines changed

4 files changed

+0
-51
lines changed

build_11.zig

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@ pub fn build(b: *std.Build) void {
1010
},
1111
});
1212

13-
const rpc = b.addModule("msgpack_rpc", .{
14-
.source_file = .{
15-
.path = "src/rpc.zig",
16-
},
17-
.dependencies = &.{
18-
.{
19-
.name = "msgpack",
20-
.module = msgpack,
21-
},
22-
},
23-
});
24-
2513
const test_step = b.step("test", "Run unit tests");
2614

2715
const msgpack_unit_tests = b.addTest(.{
@@ -35,16 +23,4 @@ pub fn build(b: *std.Build) void {
3523
msgpack_unit_tests.addModule("msgpack", msgpack);
3624
const run_msgpack_tests = b.addRunArtifact(msgpack_unit_tests);
3725
test_step.dependOn(&run_msgpack_tests.step);
38-
39-
const msgpack_rpc_unit_tests = b.addTest(.{
40-
.root_source_file = .{
41-
.path = "src/rpc_unit_test.zig",
42-
},
43-
.target = target,
44-
.optimize = optimize,
45-
});
46-
47-
msgpack_rpc_unit_tests.addModule("msgpack_rpc", rpc);
48-
const run_msgpack_rpc_tests = b.addRunArtifact(msgpack_rpc_unit_tests);
49-
test_step.dependOn(&run_msgpack_rpc_tests.step);
5026
}

build_12.zig

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@ pub fn build(b: *std.Build) void {
1313
},
1414
});
1515

16-
const rpc = b.addModule("msgpack_rpc", .{
17-
.root_source_file = .{
18-
.path = "src/rpc.zig",
19-
},
20-
.imports = &.{
21-
.{
22-
.name = "msgpack",
23-
.module = msgpack,
24-
},
25-
},
26-
});
27-
2816
generateDocs(b, optimize, target);
2917

3018
const test_step = b.step("test", "Run unit tests");
@@ -37,15 +25,6 @@ pub fn build(b: *std.Build) void {
3725
msgpack_unit_tests.root_module.addImport("msgpack", msgpack);
3826
const run_msgpack_tests = b.addRunArtifact(msgpack_unit_tests);
3927
test_step.dependOn(&run_msgpack_tests.step);
40-
41-
const msgpack_rpc_unit_tests = b.addTest(.{
42-
.root_source_file = .{ .path = "src/rpc_unit_test.zig" },
43-
.target = target,
44-
.optimize = optimize,
45-
});
46-
msgpack_rpc_unit_tests.root_module.addImport("msgpack_rpc", rpc);
47-
const run_msgpack_rpc_tests = b.addRunArtifact(msgpack_rpc_unit_tests);
48-
test_step.dependOn(&run_msgpack_rpc_tests.step);
4928
}
5029

5130
fn generateDocs(b: *Build, optimize: OptimizeMode, target: Build.ResolvedTarget) void {

src/rpc.zig

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/rpc_unit_test.zig

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)