Various changes.
This commit is contained in:
1 parent
bb90255002
commit
3475ca95c0
29 files changed
+110
-85
No files matched your search
@@ -110,7 +110,7 @@ pub fn build(b: *std.Build) void {
|
||||
|
||||
const run_cmd = b.addRunArtifact(exe);
|
||||
run_cmd.step.dependOn(b.getInstallStep());
|
||||
if (b.args) |args| run_cmd.addArgs(args);
|
||||
run_cmd.addPassthruArgs();
|
||||
b.step("run", "Run the app").dependOn(&run_cmd.step);
|
||||
|
||||
// Tests are rooted at Layouts.zig rather than main.zig: the parts of this
|
||||
@@ -319,7 +319,7 @@ fn addWebInputs(b: *std.Build, run: *std.Build.Step.Run) void {
|
||||
|
||||
const io = b.graph.io;
|
||||
for ([_][]const u8{ "web/src", "web/public" }) |root| {
|
||||
var dir = b.build_root.handle.openDir(io, root, .{ .iterate = true }) catch continue;
|
||||
var dir = b.root.openDir(io, root, .{ .iterate = true }) catch continue;
|
||||
defer dir.close(io);
|
||||
|
||||
var walker = dir.walk(b.allocator) catch continue;
|
||||
|
||||
Reference in new issue
Block a user