Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDeclare Input and Output Files in Run Script Phase #415
Comments
|
Good suggestion, I was already thinking if we can leverage this. Few things that I noticed/came to mind:
See also the discussion the neighbours at SwiftGen have: SwiftGen/SwiftGen#441 |
|
Researched this a bit and also discussed this also with @tomlokhorst today;
The big question is how to bootstrap this correctly, since integrating R.swift then would also mean you need to generate a file list by hand to make sure the first compilation keeps working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


In several WWDC talks, Apple suggests to set the Input and Output files in all run script phases, so the build system can choose to skip a run script phase if nothing changed, improving incremental build time.
How could we improve R.swift‘s behavior here?
Note that I did not yet check if wildcards were allowed in the Input Files field. Or if we could somehow leverage the new File List field.