Open
Description
I'm trying to integrate cyclonedx-gomod as-per the docs with goreleaser for my project (https://github.com/jeeftor/license-manager)
I'm running into issue because my code is in
../cmd/license-manager
From the base of the project I can run:
cyclonedx-gomod app -json -output sbom.json -main cmd/license-manager
And it works.
from ./dist
if I run:
cyclonedx-gomod app -json -output sbom.json -main ../cmd/license-manager
invalid options:
- main: must be a subpath of "."
Would it be possible to have a --working-directory
parameter which I think would solve the issue?
I'm assuming a more standard package layout with a main.go
in the root directory wouldn't be an issue.
Metadata
Assignees
Labels
No labels
Activity