I'd like to create a hash for the file generated by the generator of my language, and then substitute that hash in the generated file at some designated position. I got the suggestion of the followin...

This is an auto-generated question from the MPS Slack community: I'd like to create a hash for the file generated by the generator of my language, and then substitute that hash in the generated file at some designated position. I got the suggestion of the following solution: create a `facet` that intercepts after the `textGen` target with the `TextGenOutcomeResource`. Two questions about that: 1. I managed to do so, but the TextGenOutcomeResource units can only show me the filename of the generated file, not the full path to it. Is there another way to get the full path to the output files generated? 2. Is there an easier way to achieve what I want?
0
2 comments
Might anyone every need this... An alternative is to write a generator post-script on the output model.
0
This is auto-generated question from the MPS Community Slack Workspace. If you want to comment on the question, do it from the Slack workspace
0

Post is closed for comments.