add: zig and build.sh
build systems
This commit is contained in:
@@ -227,6 +227,8 @@ local function wizard()
|
||||
"meson (meson setup build && ninja && ninja install)",
|
||||
"make (make && make install)",
|
||||
"cargo (cargo build --release)",
|
||||
"zig (zig build && zig build install --prefix /usr)",
|
||||
"build.sh (sh build.sh with DESTDIR staging)",
|
||||
"custom (run build_script)",
|
||||
})
|
||||
|
||||
@@ -235,7 +237,7 @@ local function wizard()
|
||||
|
||||
-- 8. Configure args (skip for cargo)
|
||||
rcp.configure_args = {}
|
||||
if rcp.build_system ~= "cargo" then
|
||||
if rcp.build_system ~= "cargo" and rcp.build_system ~= "build.sh" then
|
||||
io.write("Configure args" .. dim(" [comma-separated, e.g. --enable-feature, --without-x]") .. ": ")
|
||||
io.flush()
|
||||
local args_line = io.read("*l")
|
||||
|
||||
Reference in New Issue
Block a user