diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-05 07:16:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-05 07:16:50 +0000 |
commit | a9687a73b79a72ab7525230e8112551caa3dad2d (patch) | |
tree | 9d45b416aa14f8b8d3897f96aa2e542ca6b571d3 | |
parent | 299951315a71edc1b090428714a10671ec2867c7 (diff) |
automatic import of bat
-rw-r--r-- | bat.spec | 3 | ||||
-rw-r--r-- | config | 28 |
2 files changed, 1 insertions, 30 deletions
@@ -6,7 +6,6 @@ License: Apache-2.0, MIT URL: https://github.com/sharkdp/bat Source0: https://gitee.com/zerocraft/bat/blob/master/bat-%{version}.tar.gz -Patch0000: config BuildRequires: cargo @@ -18,4 +17,4 @@ A cat(1) clone with syntax highlighting and Git integration. %install cp config ~/.cargo -cargo install --locked bat +cargo install --registry "https://rsproxy.cn/crates.io-index" --locked bat @@ -1,28 +0,0 @@ -[source.crates-io] -replace-with = 'rsproxy' -registry = "https://github.com/rust-lang/crates.io-index" - -[source.rsproxy] -registry = "https://rsproxy.cn/crates.io-index" - -[registries.rsproxy] -index = "https://rsproxy.cn/crates.io-index" - -# 中国科学技术大学 -[source.ustc] -registry = "git://mirrors.ustc.edu.cn/crates.io-index" - -# 上海交通大学 -[source.sjtu] -registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index" - -# 清华大学 -[source.tuna] -registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git" - -# rustcc社区 -[source.rustcc] -registry = "https://code.aliyun.com/rustcc/crates.io-index.git" - -[net] -git-fetch-with-cli = true
\ No newline at end of file |