aboutsummaryrefslogtreecommitdiff
path: root/src/lua_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_state.c')
-rw-r--r--src/lua_state.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lua_state.c b/src/lua_state.c
index a91cd62..10820f4 100644
--- a/src/lua_state.c
+++ b/src/lua_state.c
@@ -174,6 +174,8 @@ bool target_loop_build(
print_warning, lua_file, target
);
lua_pop(L, 1);
+ if (strcmp(target, "quiet") == 0)
+ target_loop_build(L, lua_file, "default");
return false;
}
lua_getfield(L, -1, "dependencies");
@@ -222,6 +224,8 @@ bool target_loop_install(
print_warning, lua_file, target
);
lua_pop(L, 1);
+ if (strcmp(target, "quiet") == 0)
+ target_loop_install(L, lua_file, "default");
return false;
}
lua_getfield(L, -1, "pre_install");
@@ -300,6 +304,8 @@ bool target_loop_uninstall(lua_State *L, const char *lua_file, const char *targe
print_warning, lua_file, target
);
lua_pop(L, 1);
+ if (strcmp(target, "quiet") == 0)
+ target_loop_uninstall(L, lua_file, "default");
return false;
}
lua_getfield(L, -1, "uninstall");