An open API service indexing awesome lists of open source software.

https://github.com/depp/headerfix

Header File Fixer
https://github.com/depp/headerfix

Last synced: about 2 months ago
JSON representation

Header File Fixer

Awesome Lists containing this project

README

          

HeaderFix
=========

HeaderFix is a tool for fixing copyright notices, header guards,
'extern "C"' declarations, and miscellaneous other issues with source
code and header files.

It is designed to operate on source code in a Git repository. The
tool will fail if you try to run it outside a Git repository, this is
intentional.

Configuration
-------------

You can configure the tool by adding files named '.header' to your
repository. These files will apply settings to any files in the
directory and to directories below.

Settings are configured by assignment, e.g.:

tabsize = 8

Certain variables (like 'ignore') need no value, so they can be
specified without one:

ignore

Longer values can be assigned using heredoc syntax, e.g.:

copyright_notice = <