Package plugin
dabrahams opened this issue · comments
Dave Abrahams commented
It appears SPM has a feature that would support running citron as part of a build. Citron could supply one. Please see https://github.com/apple/swift-evolution/blob/main/proposals/0303-swiftpm-extensible-build-tools.md#example-1-swiftgen
Dave Abrahams commented
And here is a guide: https://github.com/apple/swift-package-manager/blob/main/Documentation/Plugins.md
Dave Abrahams commented
And here is an example citron runner that works for me, used as follows in Package.swift.
Dave Abrahams commented
@roop I'm going to close this as you've adopted it already.