Commit f427288 1 parent 398cbad commit f427288 Copy full SHA for f427288
File tree 4 files changed +17
-8
lines changed
4 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 12
12
# if: github.repository_owner == 'emsesp'
13
13
# if: github.repository == 'emsesp/EMS-ESP32'
14
14
env :
15
- BUILD_WRAPPER_OUT_DIR : build_wrapper_output_directory
15
+ BUILD_WRAPPER_OUT_DIR : bw-output
16
16
steps :
17
17
- uses : actions/checkout@v3
18
18
with :
Original file line number Diff line number Diff line change @@ -53,8 +53,9 @@ interface/src/i18n/i18n-util.async.ts
53
53
# sonar
54
54
.scannerwork /
55
55
sonar /
56
- build_wrapper_output_directory /
56
+ bw-output /
57
57
58
58
# entity dump results
59
59
# dump_entities.csv
60
60
# dump_entities.xls*
61
+
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
-
3
- # make sure you add the soanr token here
4
- # export SONAR_TOKEN=""
2
+ # This is an example file to run sonar from a Linux command line
3
+ # Run from the root of the project like `./scripts/run_sonar.sh`
4
+ # Follow the setup in Sonar for your prpject and make sure chmod 755 +x on all the files
5
+ # and make sure you set the token in the shell like export SONAR_TOKEN="eed5ee77e74042a275fed6f653c372452d5a21d0"
5
6
6
7
make clean
7
- build-wrapper-linux-x86-64 --out-dir build_wrapper_output_directory make all
8
- sonar-scanner
8
+ ~ /sonar/build-wrapper-linux-x86-64 --out-dir bw-output make all
9
+
10
+ ~ /sonar/sonar-scanner/bin/sonar-scanner \
11
+ -Dsonar.organization=proddy \
12
+ -Dsonar.projectKey=proddy_EMS-ESP32 \
13
+ -Dsonar.projectName=EMS-ESP32 \
14
+ -Dsonar.sources=" ./src, ./lib/framework" \
15
+ -Dsonar.cfamily.build-wrapper-output=bw-output \
16
+ -Dsonar.host.url=https://sonarcloud.io
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ sonar.projectKey=emsesp_EMS-ESP32
3
3
sonar.projectName =EMS-ESP32
4
4
sonar.projectVersion =3.6.0
5
5
sonar.sources =./src
6
- sonar.cfamily.build-wrapper-output =build_wrapper_output_directory
6
+ sonar.cfamily.build-wrapper-output =bw-output
7
7
sonar.sourceEncoding =UTF-8
8
8
sonar.host.url =https://sonarcloud.io
9
9
# sonar.cfamily.threads=4
You can’t perform that action at this time.
0 commit comments