stevedlawrence opened a new pull request #691: URL: https://github.com/apache/daffodil/pull/691
Currently, runtime2 writes the daffodil version to generated_code.c. We store some example generated_code.c files in the repo as examples, which means when we bump the Daffodil version number we must also remember to update these examples. That's not hard and we do have github checks to ensure they are updated, but it's one more thing to think about during the release process. To avoid this extra work, this adds a new libcli/version.h file and overwrites it with the actual version number when generating code. Since this file is not stored along with the generated example code, we don't have to worry about updating generated code stored in the repo during version bumps. This also adds a new ForkCaptureLogger to make it easier to capture stderr/stdout from our forked processes in sbt and handle it appropriately. This way we can get a list of generated files from std out and log errors from stderr. DAFFODIL-2592 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
