mach: ensure tools/libs/apple_pie submodule is cloned

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-05-27 20:57:05 -07:00 committed by Stephen Gutekanst
parent d85c6a8669
commit 027939e8ef

View file

@ -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",