mirror of
https://github.com/RubyMetric/chsrc
synced 2025-09-10 12:50:05 +08:00
添加 chef_use_other_target_sources()
This commit is contained in:
parent
adca7b3ea2
commit
106cb97e08
@ -101,6 +101,18 @@ chef_set_sources_speed_measure_url_with_postfix (Target_t *target, char *postfix
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note 用于: 组中的 item target 在 standalone 模式时正确填充源信息
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
chef_use_other_target_sources (Target_t *this, Target_t *other)
|
||||||
|
{
|
||||||
|
if (!other->inited) other->preludefn();
|
||||||
|
this->sources = other->sources;
|
||||||
|
this->sources_n = other->sources_n;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
chef_allow_english (Target_t *target)
|
chef_allow_english (Target_t *target)
|
||||||
{
|
{
|
||||||
|
@ -21,6 +21,7 @@ pl_python_pdm_prelude (void)
|
|||||||
chef_allow_english(this);
|
chef_allow_english(this);
|
||||||
chef_allow_user_define(this);
|
chef_allow_user_define(this);
|
||||||
|
|
||||||
|
chef_use_other_target_sources (this, &pl_python_group_target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user