mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
update sonar
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
#!/bin/sh
|
||||
# This is an example file to run sonar from a Linux command line
|
||||
#
|
||||
# Make sure Sonar CLI is installed (https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner/)
|
||||
# Download Solar Scanner from https://github.com/SonarSource/sonar-scanner-cli/releases
|
||||
# or https://binaries.sonarsource.com/?prefix=Distribution/sonar-scanner-cli/
|
||||
#
|
||||
# Run from the root of the project like `./scripts/run_sonar.sh`
|
||||
# Follow the setup in Sonar for your prpject and make sure chmod 755 +x on all the files
|
||||
# Follow the setup in Sonar for your project and make sure chmod 755 +x on all the files
|
||||
# and make sure you set the token in the shell like export SONAR_TOKEN="xxxxx"
|
||||
|
||||
make clean
|
||||
@@ -12,5 +17,5 @@ make clean
|
||||
-Dsonar.projectKey=proddy_EMS-ESP32 \
|
||||
-Dsonar.projectName=EMS-ESP32 \
|
||||
-Dsonar.sources="./src, ./lib/framework" \
|
||||
-Dsonar.cfamily.build-wrapper-output=bw-output \
|
||||
-Dsonar.cfamily.compile-commands=compile_commands.json \
|
||||
-Dsonar.host.url=https://sonarcloud.io
|
||||
|
||||
@@ -3,7 +3,8 @@ sonar.projectKey=emsesp_EMS-ESP32
|
||||
sonar.projectName=EMS-ESP32
|
||||
sonar.projectVersion=3.7.0
|
||||
sonar.sources=./src
|
||||
sonar.cfamily.build-wrapper-output=bw-output
|
||||
# sonar.cfamily.build-wrapper-output=bw-output
|
||||
sonar.cfamily.compile-commands=compile_commands.json
|
||||
sonar.sourceEncoding=UTF-8
|
||||
sonar.host.url=https://sonarcloud.io
|
||||
# sonar.cfamily.threads=4
|
||||
|
||||
Reference in New Issue
Block a user