Skip to content

This project contains bundles (sonar server, sonar scanner, plugin, property file, sample apps) for configuring SonarQube

Notifications You must be signed in to change notification settings

hissain/sonarqube-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Swift Prerequisites

Dependencies

Below tools should be installed on your Mac

xcode-select

xcode-select --install

OCLint

brew cask uninstall oclint
brew tap oclint/formulae
brew install oclint

xcpretty

sudo gem install xcpretty

slather

sudo gem install slather

sonar-scanner

brew install sonar-scanner

swiftlint

brew install swiftlint

Swift Run Script

  1. Install all dependencies from above
  2. Configure sh Mac/SampleProject/sonar-project.properties according to your project
  3. Run server sh Mac//SonarQubeBundle/Server/bin/macosx-universal-64/sonar.sh
  4. Run script sh Mac/SampleProject/run-sonar-swift.sh

You can replace SampleProject with your own project after understanding the flow

Output

SonarQube Summary

SonarQube Details

About

This project contains bundles (sonar server, sonar scanner, plugin, property file, sample apps) for configuring SonarQube

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published