Skip to content

Commit f3ebcb8

Browse files
author
luotianqi
committed
update readme
1 parent 86ad624 commit f3ebcb8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ OpenSCA is now capable of parsing configuration files in the listed programming
3737
2. Or download the source code and compile (go 1.11 and above is needed)
3838

3939
```
40-
git clone https://github.com/XmirrorSecurity/OpenSCA-cli.git
41-
cd opensca-cli
42-
go build cmd/opensca-cli
40+
git clone https://github.com/XmirrorSecurity/OpenSCA-cli.git opensca
41+
cd opensca
42+
go build -o opensca-cli cmd/opensca-cli/main.go
4343
```
4444

4545
The default option is to generate the program of the current system architecture. If you want to try it for other system architectures, you can set the following environment variables before compiling.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
2. 或者下载源码编译(需要 `go 1.11` 及以上版本)
3333

3434
```shell
35-
git clone https://github.com/XmirrorSecurity/OpenSCA-cli.git
36-
cd opensca-cli
37-
go build cmd/opensca-cli
35+
git clone https://github.com/XmirrorSecurity/OpenSCA-cli.git opensca
36+
cd opensca
37+
go build -o opensca-cli cmd/opensca-cli/main.go
3838
```
3939

4040
默认生成当前系统架构的程序,如需生成其他系统架构可配置环境变量后编译

0 commit comments

Comments
 (0)