You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would work similarly to --replace-headers, but if any of the file's contents changed (#44), Headroom would fail with an error message listing all files that changed.
This would be useful to run in CI to make sure the correct license headers are added to all files.
The text was updated successfully, but these errors were encountered:
@mheinzel This feature is now implemented in master and can be run using the headroom run -c or headroom run --check-headers command. It doesn't touch any source files but ends execution with return code 1 in case that any source file contains outdated license header. I'll release it to Hackage with upcoming version, after I'll do some more testing.
It would work similarly to
--replace-headers
, but if any of the file's contents changed (#44), Headroom would fail with an error message listing all files that changed.This would be useful to run in CI to make sure the correct license headers are added to all files.
The text was updated successfully, but these errors were encountered: