CycloneDX / cyclonedx-cocoapods

Creates CycloneDX Software Bill-of-Materials (SBOM) from Objective-C and Swift projects that use CocoaPods.
Apache License 2.0
21 stars 12 forks source link

Add option to ignore dependencies used for testing #43

Closed macblazer closed 2 years ago

macblazer commented 2 years ago

As an app developer, I want to more easily create an SBOM that does not include dependencies only used by testing targets so that I can provide the SBOM to customers without exposing internal development-only dependencies.

Other CycloneDX generators offer a parameter to ignore some build targets. cyclonedx-maven uses -DexcludeTestProject=true to skip build targets that include the word "test" in their name. cyclonedx-gradle has a more generic skipConfigs that is a comma-separated list of specific build configs to skip. cyclonedx-dotnet has a -t|-exclude-test-projects parameter to exclude test projects from the BOM.