Code style changes in build.zig

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion 2025-03-05 22:07:18 +01:00
parent 24599368df
commit 85e071a60a
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -227,14 +227,14 @@ fn install_ly(allocator: std.mem.Allocator, install_config: bool) !void {
const ly_lang_path = try std.fs.path.join(allocator, &[_][]const u8{ dest_directory, config_directory, "/ly/lang" });
std.fs.cwd().makePath(ly_lang_path) catch {
std.debug.print("warn: {s} already exists as a directory.\n", .{ ly_lang_path });
std.debug.print("warn: {s} already exists as a directory.\n", .{ly_lang_path});
};
{
const exe_path = try std.fs.path.join(allocator, &[_][]const u8{ dest_directory, prefix_directory, "/bin" });
if (!std.mem.eql(u8, dest_directory, "")) {
std.fs.cwd().makePath(exe_path) catch {
std.debug.print("warn: {s} already exists as a directory.\n", .{ exe_path });
std.debug.print("warn: {s} already exists as a directory.\n", .{exe_path});
};
}