rename lib to src

This commit is contained in:
Motiejus Jakštys 2022-05-25 09:42:42 +03:00 committed by Motiejus Jakštys
parent b126b95885
commit c602b7a039
20 changed files with 14 additions and 6 deletions

View File

@ -59,10 +59,10 @@ pub fn build(b: *zbs.Builder) void {
} }
{ {
const turbonss_test = b.addTest("lib/test_all.zig"); const src_test = b.addTest("src/test_all.zig");
addCmphDeps(turbonss_test, cmph); addCmphDeps(src_test, cmph);
const test_step = b.step("test", "Run the tests"); const test_step = b.step("test", "Run the tests");
test_step.dependOn(&turbonss_test.step); test_step.dependOn(&src_test.step);
} }
} }

View File

@ -1,3 +0,0 @@
const std = @import("std");
pub fn main() !void {}

View File

@ -13,4 +13,5 @@ test "turbonss test suite" {
_ = @import("shell.zig"); _ = @import("shell.zig");
_ = @import("User.zig"); _ = @import("User.zig");
_ = @import("validate.zig"); _ = @import("validate.zig");
_ = @import("unix2db/main.zig");
} }

10
src/unix2db/main.zig Normal file
View File

@ -0,0 +1,10 @@
const std = @import("std");
const flags = @import("../flags.zig");
pub fn main() !void {}
const testing = std.testing;
test "stub" {
_ = flags;
}