From 027939e8efca6968f5d2379f90865eacc59ec866 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Fri, 27 May 2022 20:57:05 -0700 Subject: [PATCH] mach: ensure tools/libs/apple_pie submodule is cloned Signed-off-by: Stephen Gutekanst --- build.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.zig b/build.zig index 228bcf08..29121dea 100644 --- a/build.zig +++ b/build.zig @@ -220,6 +220,8 @@ pub const App = struct { pub fn run(app: *const App) *std.build.RunStep { if (app.step.target.toTarget().cpu.arch == .wasm32) { + ensureDependencySubmodule(app.b.allocator, "tools/libs/apple_pie") catch unreachable; + const http_server = app.b.addExecutable("http-server", thisDir() ++ "/tools/http-server.zig"); http_server.addPackage(.{ .name = "apple_pie",