graphscale
graphscale copied to clipboard
Ensure generated files are not manually altered
It's easy to write manual code in generated files and accidentally check it in. This should be controlled by tooling. One good way would be a "signed source" system where the code generation inserts a hash of the content of the file and then a commit hook evaluates the hash to ensure that is has not been altered.