Skip to content

Add commithash of the kxml_compiler to the generated file's comment section #27

@martonmiklos

Description

@martonmiklos

Sometimes it would be great to know from a generated parser/generator, that which version of the kxml_compiler generated it, so it would be useful to generate this to the heading comments.

On bash based envs we could borrow the getrevision.sh from the flashrom for this purpose:
https://github.com/flashrom/flashrom/blob/master/util/getrevision.sh

On Windows we would need to came up with a batchfile.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions