This would add a hook for a script to be run after generation. Critically this won't run if caching is on and the project isn't generated.
This solves the issue of running pod install only if the project has changed as discussed here https://github.com/yonaskolb/XcodeGen/pull/412.
Example:
options:
postGenScript: pod install
targets:
...
It's a pretty good solution! Because we always create script that runs XcodeGen and CocoaPods.
Could we also add a pre gen hook for thing like swiftgen? Right now gen files not commutes are not added to the project if not committed
Most helpful comment
Could we also add a pre gen hook for thing like swiftgen? Right now gen files not commutes are not added to the project if not committed