fb492d19eb
See #329 Supporting work: * move std.cstr.Buffer0 to std.buffer.Buffer * add build.zig to example/shared_library/ and add an automated test for it * add std.list.List.resizeDown * improve std.os.makePath - no longer recursive - takes into account . and .. * add std.os.path.isAbsolute * add std.os.path.resolve * reimplement std.os.path.dirname - no longer requires an allocator - handles edge cases correctly
10 lines
342 B
Zig
10 lines
342 B
Zig
const tests = @import("tests.zig");
|
|
|
|
pub fn addCases(cases: &tests.BuildExamplesContext) {
|
|
cases.add("example/hello_world/hello.zig");
|
|
cases.addC("example/hello_world/hello_libc.zig");
|
|
cases.add("example/cat/main.zig");
|
|
cases.add("example/guess_number/main.zig");
|
|
cases.addBuildFile("example/shared_library/build.zig");
|
|
}
|