zig pebble sdk boilerplate

This commit is contained in:
Fabien Freling 2026-04-13 16:58:18 +02:00
commit efa5ebc43f
6 changed files with 150 additions and 0 deletions

21
build.zig Normal file
View file

@ -0,0 +1,21 @@
const std = @import("std");
const pebble_sdk = @import("pebble_sdk");
pub fn build(b: *std.Build) !void {
pebble_sdk.addPebbleApplication(b, .{
.name = "watchface_example",
.pebble = .{
.displayName = "Watchface Example",
.author = "Example",
.uuid = "547e02ad-00f0-46ab-b65c-55f42aefd29d",
.version = .{ .major = 1, .minor = 0 },
.targetPlatforms = &.{ .emery },
.watchapp = .{
.watchface = true,
},
},
.root_source_file = b.path("src/main.zig"),
.optimize = .ReleaseSmall,
});
}