diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-29 09:48:35 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-29 09:48:35 +0000 |
| commit | e290d6a2ba0375791ad4ba191496d4a036943758 (patch) | |
| tree | 734fb90af78babd159887abc7ac5b3fea4ef7a09 | |
| parent | 9c04660cef3408f538792e1602eda1a2e2a9e779 (diff) | |
attempting quiet build target
| -rw-r--r-- | bldit.lua | 10 | ||||
| -rw-r--r-- | src/cla_parse.c | 3 |
2 files changed, 12 insertions, 1 deletions
@@ -9,5 +9,13 @@ targets = { install = function(prefix) os.execute("make install") end, - } + }, + quiet = { + build = function(name) + local output = io.popen("make"):read("*a") + end, + install = function(prefix) + local output = io.popen("make install"):read("*a") + end, + }, } diff --git a/src/cla_parse.c b/src/cla_parse.c index faa9341..3a5985a 100644 --- a/src/cla_parse.c +++ b/src/cla_parse.c @@ -49,6 +49,9 @@ void cla_parse(int argc, char **argv) { if (argv[i + 2]) { pkg = create_pkg(argv[i + 1], argv[i + 2]); build(pkg); + } else if (!is_verbose) { + pkg = create_pkg(argv[i + 1], "quiet"); + build(pkg); } else { pkg = create_pkg(argv[i + 1], "default"); build(pkg); |
