diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-05 07:53:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-05 07:53:22 +0000 |
commit | 80dea39149c331fdb511c57260d7740b1149a9fd (patch) | |
tree | b0a95c254bda3ac079b74fd4ea43931e888516ea | |
parent | 5c8a6461d4d4161ee7d027a8a7ee5f2682bac14c (diff) |
automatic import of bat
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | bat.spec | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..28b667b --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# bat + +## Description + +A cat(1) clone with syntax highlighting and Git integration. + +form github [bat](https://github.com/sharkdp/bat) @@ -6,6 +6,7 @@ License: Apache-2.0, MIT URL: https://github.com/sharkdp/bat Source0: https://gitee.com/zerocraft/bat/blob/master/bat-%{version}.tar.gz +Source1: https://gitee.com/zerocraft/bat/blob/master/README.md BuildRequires: cargo @@ -16,6 +17,5 @@ A cat(1) clone with syntax highlighting and Git integration. %autosetup %install -export RUSTUP_DIST_SERVER="https://rsproxy.cn" -export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup" +cat ~/.cargo/config cargo install --locked bat |