mirror of https://github.com/fairyglade/ly.git
little fix
This commit is contained in:
parent
e8f8378136
commit
aeba7c4cd9
|
@ -15,7 +15,7 @@ comptime {
|
|||
const ly_version = std.SemanticVersion{ .major = 1, .minor = 1, .patch = 0 };
|
||||
var dest_directory: []const u8 = undefined;
|
||||
var data_directory: []const u8 = undefined;
|
||||
var default_tty: u8 = 0;
|
||||
var default_tty: u8 = undefined;
|
||||
var exe_name: []const u8 = undefined;
|
||||
|
||||
const ProgressNode = if (current_zig.minor == 12) *std.Progress.Node else std.Progress.Node;
|
||||
|
@ -23,7 +23,7 @@ const ProgressNode = if (current_zig.minor == 12) *std.Progress.Node else std.Pr
|
|||
pub fn build(b: *std.Build) !void {
|
||||
dest_directory = b.option([]const u8, "dest_directory", "Specify a destination directory for installation") orelse "";
|
||||
data_directory = b.option([]const u8, "data_directory", "Specify a default data directory (default is /etc/ly). This path gets embedded into the binary") orelse "/etc/ly";
|
||||
default_tty = b.option(u8, "default_tty", "set default tty") orelse 2;
|
||||
default_tty = b.option(u8, "default_tty", "set default TTY") orelse 2;
|
||||
|
||||
exe_name = b.option([]const u8, "name", "Specify installed executable file name (default is ly)") orelse "ly";
|
||||
|
||||
|
|
Loading…
Reference in New Issue