mach: ensure tools/libs/apple_pie submodule is cloned
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d85c6a8669
commit
027939e8ef
1 changed files with 2 additions and 0 deletions
|
|
@ -220,6 +220,8 @@ pub const App = struct {
|
||||||
|
|
||||||
pub fn run(app: *const App) *std.build.RunStep {
|
pub fn run(app: *const App) *std.build.RunStep {
|
||||||
if (app.step.target.toTarget().cpu.arch == .wasm32) {
|
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");
|
const http_server = app.b.addExecutable("http-server", thisDir() ++ "/tools/http-server.zig");
|
||||||
http_server.addPackage(.{
|
http_server.addPackage(.{
|
||||||
.name = "apple_pie",
|
.name = "apple_pie",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue