Skip to content

Commit 2edfb22

Browse files
author
Anton Volodchenko
committed
Чуть поправил. Добавил пример по C#
1 parent 8cf6513 commit 2edfb22

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

docs/agent/reachability.en.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ To use this feature, you need to set two parameters:
4545
```shell
4646
svace build ./gradlew clean build
4747
```
48+
Example for C#:
49+
```shell
50+
svace build dotnet build
51+
```
4852
3. Analyze results and generate the call graph
4953
```shell
5054
svace analyze --build-call-graph-only --license-server-url "http(s)://<codescoring_host>" --license-server-token "<token from step 1>"
@@ -78,11 +82,9 @@ svace server init
7882
```shell
7983
svace server start
8084
```
81-
4. Submit the project for analysis
82-
83-
After configuring the server, you do not need to specify the --license-server-url and --license-server-token license parameters.
85+
4. Submit the project for analysis. After configuring the server, you do not need to specify the ```--license-server-url``` and ```--license-server-token``` license parameters.
8486
```shell
85-
svace remote analyze --build-call-graph-only
87+
svace remote --host <адрес сервера> analyze --build-call-graph-only
8688
```
8789

8890
If necessary, you can add the parameters: ```--port```, ```--login```, ```--pass```, etc.

docs/agent/reachability.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ hide:
4545
```shell
4646
svace build ./gradlew clean build
4747
```
48+
Пример на языке C#:
49+
```shell
50+
svace build dotnet build
51+
```
4852
3. Анализ результатов и построение графа вызовов
4953
```shell
5054
svace analyze --build-call-graph-only --license-server-url "http(s)://<codescoring_host>" --license-server-token "<токен из п.1>"
@@ -79,9 +83,7 @@ sace server init
7983
```shell
8084
svace server start
8185
```
82-
4. Отправить проект на анализ
83-
84-
После настройки сервера не нужно указывать параметры лицензии ```--license-server-url``` и ```--license-server-token```.
86+
4. Отправить проект на анализ. После настройки сервера не нужно указывать параметры лицензии ```--license-server-url``` и ```--license-server-token```.
8587
```shell
8688
svace remote --host <адрес сервера> analyze --build-call-graph-only
8789
```

0 commit comments

Comments
 (0)