Idean / sonar-swift

Open source Swift plugin for SonarQube (also supports Objective-C)
Other
895 stars 278 forks source link

Support for swift-package-manager #127

Open msaehn opened 6 years ago

msaehn commented 6 years ago

At the moment sonar-swift only supports xcode-projects, but there are projects without a workspace / project, that are configured only with a package.swift. In this case the run-sonar-swift.sh-script fails with the error ERROR - sonar.swift.project or/and sonar.swift.workspace parameter is missing in sonar-project.properties. You must specify which projects (comma-separated list) are application code or which workspace and project to use.

zippy1978 commented 6 years ago

Hi @papierschiff,

You are right. To support Swift Package Manager we should write a specific run script. This could be a possible future enhancement.

zocario commented 4 years ago

Hello @zippy1978 is there any work in progress about this? Would be really helpful for us as we're building packages and want to use sonar easily without having to add an Xcode project (as Bundle.module can't work in an xcodeproj). Thanks :)