mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-08 19:54:13 +08:00
Update recipe template
This commit is contained in:
parent
b33446c63b
commit
5fdea2a3c6
@ -4,7 +4,7 @@
|
|||||||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||||
* Contributors : Nil Null <nil@null.org>
|
* Contributors : Nil Null <nil@null.org>
|
||||||
* Created On : <2024-08-09>
|
* Created On : <2024-08-09>
|
||||||
* Last Modified : <2024-08-18>
|
* Last Modified : <2024-09-10>
|
||||||
* -------------------------------------------------------------
|
* -------------------------------------------------------------
|
||||||
* 本文件作为一个通用模板:
|
* 本文件作为一个通用模板:
|
||||||
*
|
*
|
||||||
@ -16,6 +16,8 @@
|
|||||||
* 分别对应3个子目录: lang, os, ware
|
* 分别对应3个子目录: lang, os, ware
|
||||||
* ------------------------------------------------------------*/
|
* ------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* 模版文件从下行正式开始 */
|
/* 模版文件从下行正式开始 */
|
||||||
/** ------------------------------------------------------------
|
/** ------------------------------------------------------------
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@ -38,7 +40,7 @@ RubyMetric = {"rbmt", // chsrc set <target> rbmt
|
|||||||
"https://rubymetirc.com/target/aws/aws-sdk-go/@v/v1.45.2.zip"};
|
"https://rubymetirc.com/target/aws/aws-sdk-go/@v/v1.45.2.zip"};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @time 2024-08-09 更新
|
* @update 2024-08-09
|
||||||
* @note 该target的各个源地址,该例数据为虚拟填充
|
* @note 该target的各个源地址,该例数据为虚拟填充
|
||||||
*/
|
*/
|
||||||
static SourceInfo
|
static SourceInfo
|
||||||
@ -66,7 +68,7 @@ void
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @required 必需
|
* @required 必需
|
||||||
* @ref 写明换源实现的参考地址
|
* @consult 写明换源实现的参考地址
|
||||||
*
|
*
|
||||||
* 用于 chsrc set <target>
|
* 用于 chsrc set <target>
|
||||||
*/
|
*/
|
||||||
@ -92,7 +94,7 @@ void
|
|||||||
<category>_<target>_resetsrc (char *option)
|
<category>_<target>_resetsrc (char *option)
|
||||||
{
|
{
|
||||||
// 往往通过下述方式统一在 setsrc() 中实现
|
// 往往通过下述方式统一在 setsrc() 中实现
|
||||||
// <category>_<name>_setsrc (ChsrcTypeReset);
|
// <category>_<target>_setsrc (ChsrcTypeReset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user