From 474d72b9caf7496d37248c3c07e12611d9b4fa77 Mon Sep 17 00:00:00 2001 From: Frothy <76622149+FrothyMarrow@users.noreply.github.com> Date: Tue, 21 May 2024 05:55:47 -0400 Subject: [PATCH] feat: add phy run artifact --- build.zig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 78c23c7..8ab4111 100644 --- a/build.zig +++ b/build.zig @@ -28,9 +28,12 @@ pub fn build(b: *std.Build) void { "vector.c", }, }); - phy.linkSystemLibrary("glfw"); phy.linkFramework("OpenGL"); b.installArtifact(phy); + + const phy_run = b.addRunArtifact(phy); + const run_step = b.step("run", "Run the phy binary"); + run_step.dependOn(&phy_run.step); }