Skip to content

economicmodeling/sonar-d-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sonar-d-plugin

SonarQube plugin for the D programming language

Installation

Requirements

Instructions

  • Run mvn clean install in the sonar-d-plugin directory. This will compile and package the plugin.
  • Copy the generated jar file from sonar-d-plugin/target/sonar-d-plugin-0.1-SNAPSHOT.jar to sonarqube-4.4/extensions/plugins/.
  • Start SonarQube.

Use

  • Create a file called "sonar-project.properties" in your D project's root directory, following the directions here. For example:
    sonar.projectKey=dscanner
    sonar.projectName=D Scanner
    sonar.projectVersion=1.0
    sonar.sourceEncoding=UTF-8
    sonar.sources=.
  • Execute dscanner to create a report file. dscanner --report . > dscanner-report.json. Make sure that dscanner-report.json is in the directory specified by "sonar.sources".
  • Run sonar-runner in this directory to upload analysis results to the SonarQube server.

About

SonarQube plugin for the D programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages