Skip to content

Commit e5c8afe

Browse files
Sri Hari Prasad GV (Sri Hari Prasad GVSri Hari Prasad GV (Sri Hari Prasad GV
authored andcommitted
first commit
0 parents  commit e5c8afe

27 files changed

+42
-0
lines changed

action.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'OAT'
2+
description: 'This Github action helps build and analyse Open Harmony libraries'
3+
branding:
4+
icon: award
5+
color: red
6+
runs:
7+
using: "composite"
8+
steps:
9+
- uses: actions/checkout@v2
10+
with:
11+
repository: Applib-Learning/tools
12+
path: oat
13+
- name: run oat
14+
shell: cmd
15+
id: main
16+
working-directory: ${{ github.workspace }}
17+
run: |
18+
java -jar ${{ github.workspace }}\oat\oat\ohos_ossaudittool-1.0.jar -s .\ -r .\report.txt -n selfcheck
19+
type report.txt
101 KB
Binary file not shown.

oat/RADME.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 使用说明
2+
3+
```bash
4+
# -jar jar包路径,D:\temp\tools_oat\target\ohos_ossaudittool-1.0.jar 需要改成ohos_ossaudittool-1.0.jar的实际路径
5+
# -s 指定要检查的代码目录路径,D:\code\oat_test 改成要检查的项目路径
6+
# -r 指定检查报告输出的文件路径
7+
# -n 检查任务的名称,本地检查没有额外用途,可以任意填写。
8+
# 更多帮助执行java -jar ohos_ossaudittool-1.0.jar -h
9+
10+
# 示例1
11+
java -jar D:\temp\tools_oat\target\ohos_ossaudittool-1.0.jar -s .\ -r .\report.txt -n selfcheck
12+
13+
# 示例2
14+
java -jar D:\temp\tools_oat\target\ohos_ossaudittool-1.0.jar -s D:\code\oat_test -r .\report.txt -n selfcheck
15+
16+
17+
java -jar D:\temp\tools_oat\target\ohos_ossaudittool-1.0.jar -s \\192.168.153.128\javen\code\tpc\opus -r .\report.txt -n selfcheck
18+
19+
```
20+
21+
22+
# oat 问题处理参考
23+
https://gitee.com/openharmony-sig/tools_oat#oat%E9%97%AE%E9%A2%98%E7%A1%AE%E8%AE%A4

oat/libs/annotations-23.0.0.jar

28.7 KB
Binary file not shown.

oat/libs/apache-rat-api-0.13.jar

10.4 KB
Binary file not shown.

oat/libs/apache-rat-core-0.13.jar

125 KB
Binary file not shown.
240 KB
Binary file not shown.

oat/libs/commons-cli-1.3.1.jar

51.7 KB
Binary file not shown.
575 KB
Binary file not shown.

oat/libs/commons-compress-1.19.jar

601 KB
Binary file not shown.

0 commit comments

Comments
 (0)