removed unused import and update sonar config to scan different components separately
This commit is contained in:
parent
f4f5c9f5d8
commit
6f4ef0e193
2 changed files with 18 additions and 8 deletions
|
@ -16,7 +16,6 @@ message handlers are defined and some support for sending messages.
|
|||
|
||||
import ConfigParser
|
||||
import atexit
|
||||
import importlib
|
||||
import optparse
|
||||
import os
|
||||
import signal
|
||||
|
|
|
@ -7,7 +7,7 @@ sonar.projectName=CORE
|
|||
sonar.projectVersion=5.1
|
||||
|
||||
# define modules
|
||||
sonar.modules=PythonLibrary
|
||||
sonar.modules=daemon,ns3,netns
|
||||
|
||||
# Encoding of the source files
|
||||
sonar.sourceEncoding=UTF-8
|
||||
|
@ -15,9 +15,20 @@ sonar.sourceEncoding=UTF-8
|
|||
# scm provider
|
||||
sonar.scm.provider=git
|
||||
|
||||
# python adapter library
|
||||
PythonLibrary.sonar.projectBaseDir=daemon
|
||||
PythonLibrary.sonar.language=py
|
||||
PythonLibrary.sonar.sources=./core
|
||||
PythonLibrary.sonar.tests=./tests
|
||||
PythonLibrary.sonar.python.coverage.reportPath=coverage.xml
|
||||
# daemon files
|
||||
daemon.sonar.projectBaseDir=daemon
|
||||
daemon.sonar.language=py
|
||||
daemon.sonar.sources=./core
|
||||
daemon.sonar.tests=./tests
|
||||
daemon.sonar.python.coverage.reportPath=coverage.xml
|
||||
|
||||
# ns3 files
|
||||
ns3.sonar.projectBaseDir=ns3
|
||||
ns3.sonar.language=py
|
||||
ns3.sonar.sources=./corens3
|
||||
|
||||
# netns files
|
||||
netns.sonar.projectBaseDir=netns
|
||||
netns.sonar.language=c
|
||||
netns.sonar.sources=./
|
||||
netns.sonar.cfamily.build-wrapper-output.bypass=true
|
||||
|
|
Loading…
Reference in a new issue