]> git.ipfire.org Git - thirdparty/lldpd.git/commit
ci: add an Emacs script to format C files
authorVincent Bernat <vincent@bernat.ch>
Sat, 5 Nov 2022 23:40:51 +0000 (00:40 +0100)
committerVincent Bernat <vincent@bernat.ch>
Sat, 5 Nov 2022 23:40:51 +0000 (00:40 +0100)
commit39c33072a89ce4ed9364011f980d03e66c317759
treedc42f814f556228dabc192f8a19b3b8f36c59ac6
parentfa2ab06c3059ac8d2c8a5f0251b37361267d3b92
ci: add an Emacs script to format C files

    git ls-files '*.c' '*.h' \
        | grep -v '^include/' \
        | xargs emacs -Q --batch -l tests/ci/openbsd-knf-style.el
tests/ci/openbsd-knf-style.el [new file with mode: 0644]