diff options
author | David Sommerseth | 2016-12-14 22:05:00 +0100 |
---|---|---|
committer | David Sommerseth | 2016-12-14 22:27:28 +0100 |
commit | 2417d55c4945d491e528dd0e4cf24047da5ceae9 (patch) | |
tree | 6b57f4ab123a6f242633aeaf6e76af31cbc76df5 /src/openvpn/init.h | |
parent | a7acb6b48e31c5b83983f7eb9caf308adb7b76f1 (diff) | |
download | openvpn-2417d55c4945d491e528dd0e4cf24047da5ceae9.zip openvpn-2417d55c4945d491e528dd0e4cf24047da5ceae9.tar.gz |
dev-tools: Add reformat-all.sh for code style unification
This script will run all files related to the currently checked out
git branch through uncrustify using a standardized style configuration.
Due to a bug in uncrustify 0.64, it is needed to add a special treatment
to one of the files at the moment. So this both pre- and post-patched
before/after uncrustify is run. This is to simply to assure that all
file processing will happen consistently each time.
Also added doc/doxygen/doc_key_generation.h to an ignore list, as
it carries some specific Doxygen formatting we should be careful with.
This file is anyhow not so critical and can be managed manually.
The src/compat/compat-lz4.[ch] files are also not touched, as they
are based on upstream formatting. This makes it easier to update
to a newer LZ4 version later on and even see what the differences
are.
v2 - Include updated config from CodeStyle wiki page
Remove line lenght restriction for The Great Reformatting
Update the script with improvements by krzee
v3 - Update with a fixed config from the CodeStyle wiki page
Corrected a typo in the commit message (0.63->0.64)
Minor changes to the reformat script (no pushd/popd,
some new lines moved around, bash->sh)
Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <1481749500-8795-1-git-send-email-davids@openvpn.net>
URL: http://www.mail-archive.com/search?l=mid&q=1481749500-8795-1-git-send-email-davids@openvpn.net
Diffstat (limited to 'src/openvpn/init.h')
0 files changed, 0 insertions, 0 deletions