Compare commits
No commits in common. "fce5d662805d61910783b913473636fd93a0d7bf" and "bdb19aded522b7d14ab3964a13dfd90a7f05100e" have entirely different histories.
fce5d66280
...
bdb19aded5
34
README.en.md
34
README.en.md
@ -1,32 +1,22 @@
|
|||||||
# cloc
|
# cloc
|
||||||
|
|
||||||
#### Description
|
#### Description
|
||||||
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
|
Program line caculation tools
|
||||||
|
|
||||||
#### Software Architecture
|
#### Software Architecture
|
||||||
Software architecture description
|
Software architecture description
|
||||||
|
|
||||||
#### Installation
|
#### Installation
|
||||||
|
|
||||||
```
|
1. xxxx
|
||||||
npm install -g cloc # https://www.npmjs.com/package/cloc
|
2. xxxx
|
||||||
sudo apt install cloc # Debian, Ubuntu
|
3. xxxx
|
||||||
sudo yum install cloc # Red Hat, Fedora
|
|
||||||
sudo dnf install cloc # Fedora 22 or later
|
|
||||||
sudo pacman -S cloc # Arch
|
|
||||||
sudo emerge -av dev-util/cloc # Gentoo https://packages.gentoo.org/packages/dev-util/cloc
|
|
||||||
sudo apk add cloc # Alpine Linux
|
|
||||||
doas pkg_add cloc # OpenBSD
|
|
||||||
sudo pkg install cloc # FreeBSD
|
|
||||||
sudo port install cloc # macOS with MacPorts
|
|
||||||
brew install cloc # macOS with Homebrew
|
|
||||||
choco install cloc # Windows with Chocolatey
|
|
||||||
scoop install cloc # Windows with Scoop
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Instructions
|
#### Instructions
|
||||||
|
|
||||||
cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <report files>
|
1. xxxx
|
||||||
|
2. xxxx
|
||||||
|
3. xxxx
|
||||||
|
|
||||||
#### Contribution
|
#### Contribution
|
||||||
|
|
||||||
@ -34,3 +24,13 @@ cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <report files>
|
|||||||
2. Create Feat_xxx branch
|
2. Create Feat_xxx branch
|
||||||
3. Commit your code
|
3. Commit your code
|
||||||
4. Create Pull Request
|
4. Create Pull Request
|
||||||
|
|
||||||
|
|
||||||
|
#### Gitee Feature
|
||||||
|
|
||||||
|
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||||
|
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||||
|
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||||
|
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||||
|
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||||
|
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||||
|
|||||||
34
README.md
34
README.md
@ -1,7 +1,7 @@
|
|||||||
# cloc
|
# cloc
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
cloc统计了各种编程语言的源代码中的空行、注释行和物理行数。
|
Program line caculation tools
|
||||||
|
|
||||||
#### 软件架构
|
#### 软件架构
|
||||||
软件架构说明
|
软件架构说明
|
||||||
@ -9,25 +9,15 @@ cloc统计了各种编程语言的源代码中的空行、注释行和物理行
|
|||||||
|
|
||||||
#### 安装教程
|
#### 安装教程
|
||||||
|
|
||||||
```
|
1. xxxx
|
||||||
npm install -g cloc # https://www.npmjs.com/package/cloc
|
2. xxxx
|
||||||
sudo apt install cloc # Debian, Ubuntu
|
3. xxxx
|
||||||
sudo yum install cloc # Red Hat, Fedora
|
|
||||||
sudo dnf install cloc # Fedora 22 or later
|
|
||||||
sudo pacman -S cloc # Arch
|
|
||||||
sudo emerge -av dev-util/cloc # Gentoo https://packages.gentoo.org/packages/dev-util/cloc
|
|
||||||
sudo apk add cloc # Alpine Linux
|
|
||||||
doas pkg_add cloc # OpenBSD
|
|
||||||
sudo pkg install cloc # FreeBSD
|
|
||||||
sudo port install cloc # macOS with MacPorts
|
|
||||||
brew install cloc # macOS with Homebrew
|
|
||||||
choco install cloc # Windows with Chocolatey
|
|
||||||
scoop install cloc # Windows with Scoop
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 使用说明
|
#### 使用说明
|
||||||
|
|
||||||
cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <report files>
|
1. xxxx
|
||||||
|
2. xxxx
|
||||||
|
3. xxxx
|
||||||
|
|
||||||
#### 参与贡献
|
#### 参与贡献
|
||||||
|
|
||||||
@ -35,3 +25,13 @@ cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <report files>
|
|||||||
2. 新建 Feat_xxx 分支
|
2. 新建 Feat_xxx 分支
|
||||||
3. 提交代码
|
3. 提交代码
|
||||||
4. 新建 Pull Request
|
4. 新建 Pull Request
|
||||||
|
|
||||||
|
|
||||||
|
#### 码云特技
|
||||||
|
|
||||||
|
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||||
|
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||||
|
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||||
|
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||||
|
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||||
|
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||||
|
|||||||
BIN
cloc-1.84.tar.gz
Normal file
BIN
cloc-1.84.tar.gz
Normal file
Binary file not shown.
BIN
cloc-1.98.tar.gz
BIN
cloc-1.98.tar.gz
Binary file not shown.
23
cloc.spec
23
cloc.spec
@ -1,10 +1,10 @@
|
|||||||
name: cloc
|
Name: cloc
|
||||||
Version: 1.98
|
Version: 1.84
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: Program line caculation tools
|
Summary: Program line caculation tools
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/AlDanial/cloc
|
URL: https://github.com/AlDanial/cloc
|
||||||
Source0: https://github.com/AlDanial/cloc/releases/download/v%{version}/cloc-%{version}.tar.gz
|
Source0: https://github.com/AlDanial/cloc/releases/download/%{version}/cloc-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -13,9 +13,6 @@ BuildRequires: perl-Regexp-Common
|
|||||||
BuildRequires: perl-Parallel-ForkManager
|
BuildRequires: perl-Parallel-ForkManager
|
||||||
|
|
||||||
|
|
||||||
Requires: perl-Regexp-Common
|
|
||||||
Requires: perl-Parallel-ForkManager
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
cloc is a tool which can help to do program line caculation.
|
cloc is a tool which can help to do program line caculation.
|
||||||
|
|
||||||
@ -42,18 +39,6 @@ make install DESTDIR="%{buildroot}"
|
|||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Sep 14 2023 liyanan <thistleslyn@163.com> - 1.98-1
|
|
||||||
- update to 1.98
|
|
||||||
|
|
||||||
* Sat Feb 26 2022 s_c_c <shichuchao@huawei.com> - 1.92-2
|
|
||||||
- Update version to 1.92
|
|
||||||
|
|
||||||
* Fri Jan 29 2021 myeuler <myeuler@163.com>
|
|
||||||
- add Requires needed
|
|
||||||
|
|
||||||
* Mon Aug 17 2020 fcwicky <307610302@qq.com>
|
|
||||||
- Update package
|
|
||||||
|
|
||||||
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user