mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-27 23:18:30 +08:00
36 lines
1.0 KiB
C
36 lines
1.0 KiB
C
/** ------------------------------------------------------------
|
||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||
* -------------------------------------------------------------
|
||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||
* Contributors : Nil Null <nil@null.org>
|
||
* Created On : <2023-09-10>
|
||
* Last Modified : <2024-08-09>
|
||
* ------------------------------------------------------------*/
|
||
|
||
/**
|
||
* @update 2023-09-10
|
||
* @note 不太好换,且用户可能不多,我们暂时只给用户提供文档
|
||
*/
|
||
static Source_t pl_clojure_sources[] =
|
||
{
|
||
{&UpstreamProvider, NULL},
|
||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/help/clojars/"},
|
||
{&Ustc, "https://mirrors.ustc.edu.cn/help/clojars.html"}
|
||
};
|
||
def_sources_n(pl_clojure);
|
||
|
||
|
||
void
|
||
pl_clojure_setsrc (char *option)
|
||
{
|
||
chsrc_yield_source_and_confirm (pl_clojure);
|
||
|
||
chsrc_note2 ("抱歉,Clojure换源较复杂,您可手动查阅并换源:");
|
||
p(source.url);
|
||
|
||
chsrc_determine_chgtype (ChgType_Manual);
|
||
chsrc_conclude (&source);
|
||
}
|
||
|
||
def_target_s (pl_clojure);
|