examples: prepare for adding more examples

This commit is contained in:
Andrew Gutekanst 2022-04-12 17:51:42 -04:00 committed by Stephen Gutekanst
parent 2496b50b16
commit 9489fe7083
4 changed files with 1 additions and 1 deletions

View file

@ -23,7 +23,7 @@ pub fn build(b: *std.build.Builder) void {
const test_step = b.step("test", "Run library tests");
test_step.dependOn(&main_tests.step);
const example = b.addExecutable("hello-triangle", "examples/main.zig");
const example = b.addExecutable("hello-triangle", "examples/triangle/main.zig");
example.setTarget(target);
example.setBuildMode(mode);
example.addPackage(pkg);