From a60446eab2a67683e705f98c770a6bb5eae0b779 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Thu, 15 Aug 2024 20:40:26 +0800 Subject: [PATCH] Update recipe template --- src/recipe/template.c | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/recipe/template.c b/src/recipe/template.c index dc8c86e..28ce8c0 100644 --- a/src/recipe/template.c +++ b/src/recipe/template.c @@ -1,16 +1,31 @@ /** ------------------------------------------------------------ * SPDX-License-Identifier: GPL-3.0-or-later * ------------------------------------------------------------- - * Contributors : Null Nil - * Created on : <2024-08-09> - * Last modified : <2024-08-09> + * File Authors : Aoran Zeng + * Contributors : Nil Null + * Created On : <2024-08-09> + * Last Modified : <2024-08-15> + * ------------------------------------------------------------- + * 本文件作为一个通用模板: * - * 该模版中: + * 为一个【换源目标(target)】定义具体的【换源方法(recipe)】 + * + * 模版中: * 为该换源目标的名称 * 为该换源目标的类别,仅有3类: pl, os, wr * 分别对应3个子目录: lang, os, ware * ------------------------------------------------------------*/ +/* 模版文件从下行正式开始 */ +/** ------------------------------------------------------------ + * SPDX-License-Identifier: GPL-3.0-or-later + * ------------------------------------------------------------- + * File Authors : Nil Null 尼尔闹先生 + * Contributors : Nul None 怒了馕女士 + * Created On : <202x-01-01> https://www.yuque.com/ccmywish/blog/nil-null-and-nul-none + * Last Modified : <202x-01-01> 请更新文件标头 + * ------------------------------------------------------------*/ + /** * 定义专服务于该target的镜像站,该例数据为虚拟填充 */ @@ -86,5 +101,5 @@ void // 定义此 target,参考 "target.h" // 下列情形3选1 def_target_full(_); -def_target(_) -def_target_no_get(_) +def_target(_); +def_target_no_get(_);