Skip to content

Commit

Permalink
Move former example to examples/egl
Browse files Browse the repository at this point in the history
  • Loading branch information
zenith391 authored and ikskuh committed Dec 28, 2022
1 parent d463762 commit fb16fc6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn build(b: *std.build.Builder) !void {
// This is a set of resources. It should at least contain a "mipmap/icon.png" resource that
// will provide the application icon.
.resources = &[_]Sdk.Resource{
.{ .path = "mipmap/icon.png", .content = .{ .path = "example/icon.png" } },
.{ .path = "mipmap/icon.png", .content = .{ .path = "examples/icon.png" } },
},

.aaudio = aaudio,
Expand All @@ -71,7 +71,7 @@ pub fn build(b: *std.build.Builder) !void {
const ExampleType = enum { egl, textview };
const example = b.option(ExampleType, "example", "Which example to run") orelse .egl;
const src = switch (example) {
.egl => "example/main.zig",
.egl => "examples/egl/main.zig",
.textview => "examples/textview/main.zig",
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes

0 comments on commit fb16fc6

Please sign in to comment.