DangerXcodeStaticAnalyzer

1.1.0

HealthTap/DangerXcodeStaticAnalyzer

What's New

1.1.0

2020-01-22T16:22:30Z

Bump Swift danger version

Danger Xcode Static Analyzer

Danger Swift plugin for Xcode Static Analzyer. So you can get analyzer warnings on your pull requests!

Usage

Install and run Danger Swift as normal.

dependencies:
  override:
  - npm install -g danger # This installs Danger
  - brew install danger/tap/danger-swift # This installs Danger-Swift

Then use the following Dangerfile.swift.

// Dangerfile.swift

import Danger
import DangerXcodeStaticAnalyzer // package: https://github.com/hteytan/DangerXcodeStaticAnalyzer.git

XcodeStaticAnalyzer.analyze(arguments: [...])

That will run the static analzyer and report warnings inline for created and modified files. Violations that are out of the diff will show in danger's fail or warn section.

Report all files

By default, only the warnings from files that were added or modified are reported; however, you can use the reportAllFiles option to report warnings from all files.

XcodeStaticAnalyzer.analyze(arguments: [...], reportAllFiles=true)

License

#MIT4Lyfe

Attributions

Thank you, ashfurrow.

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

Last updated: Tue Oct 22 2024 03:50:01 GMT-0900 (Hawaii-Aleutian Daylight Time)