Closed TheNightmanCodeth closed 1 week ago
This config file is used only by RswiftGenerateInternalResources plugin. There are also RswiftGenerateResourcesCommand and RswiftGeneratePublicResources plugins.
Yeah good call this was a quick solution for a narrow use-case. There's another MR #899 raised just after this that, at a quick glance, appears to fill in those gaps.
I'm going to go ahead and close this since I'm no longer using R.swift and don't plan on coming back to finish this out. If someone else would like to take what I've done and finish it in another MR that's fine with me.
I noticed there was no way to set custom arguments to the generation command when using SPM or Xcode BuildToolPlugin
This just allows for configuration via a
rswift.json
file placed at the project root (or elsewhere if it is added manually to the Xcode project)The config json would look like:
or any variation (ie. only additionalArguments, only generators and rswiftignorePath, etc.)
Addresses #860 (among others)