mirror of
https://github.com/RubyMetric/chsrc
synced 2026-10-25 17:36:32 +08:00
优化 group target ls 时的输出
This commit is contained in:
2 files changed
+12
-7
No files matched your search
+10
-5
@@ -698,12 +698,17 @@ get_target (const char *input, TargetOp code, char *option)
|
||||
{
|
||||
int sub_count = xy_seq_len (target->sub_targets);
|
||||
|
||||
char *zh_msg = xy_strcat (4, input, " 由以下", xy_int2str(sub_count),
|
||||
"个子目标组成,可使用 chsrc ls <sub-target> 分别查看\n");
|
||||
char *en_msg = xy_strcat (4, input, " consists of the following ", xy_int2str(sub_count),
|
||||
" sub targets, you can use `chsrc ls <sub-target>` to view each\n");
|
||||
char *zh_msg = xy_strcat (3,
|
||||
bdyellow(xy_strcat (4, input, " 由以下", xy_int2str(sub_count), "个子目标组成,可使用 chsrc ls <")),
|
||||
bdpurple("sub-target"),
|
||||
bdyellow("> 分别查看\n"));
|
||||
|
||||
chsrc_log (bdyellow(CHINESE ? zh_msg : en_msg));
|
||||
char *en_msg = xy_strcat (3,
|
||||
bdyellow(xy_strcat (4, input, " consists of the following ", xy_int2str(sub_count), " sub targets, you can use `chsrc ls <")),
|
||||
bdpurple("sub-target"),
|
||||
bdyellow("> to view each\n"));
|
||||
|
||||
chsrc_log (CHINESE ? zh_msg : en_msg);
|
||||
|
||||
for (size_t i=0; i<sub_count; i++)
|
||||
{
|
||||
|
||||
@@ -23,10 +23,10 @@ static MirrorSite_t CnbUvPython =
|
||||
void
|
||||
pl_uv_python_build_prelude (void)
|
||||
{
|
||||
chef_prep_sources_target (pl_uv_python_build);
|
||||
chef_prep_this (pl_uv_python_build, gsr);
|
||||
|
||||
chef_set_recipe_created_on (this, "2026-08-02");
|
||||
chef_set_recipe_last_updated (this, "2026-08-12");
|
||||
chef_set_recipe_last_updated (this, "2026-08-13");
|
||||
|
||||
chef_set_chefs (this, 2, "@Mikachu2333", "@ccmywish");
|
||||
chef_set_sauciers (this, 0);
|
||||
|
||||
Reference in new issue
Block a user