mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 23:20:42 +01:00
... and do them via containers. This also reduces resource usage and runtime on Travis a bit.
11 lines
397 B
Bash
Executable File
11 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
# this checks the rsyslog codestyle. It expects that
|
|
# rsyslog_stylecheck
|
|
# is already installed inside the system
|
|
# if in doubt, run it on one of the development containers
|
|
set -e
|
|
find -name "*.[ch]" | xargs rsyslog_stylecheck -w -f -l 120
|
|
# Note: we do stricter checks for some code sources that have been
|
|
# sufficiently cleaned up.
|
|
rsyslog_stylecheck plugins/imfile/imfile.c -l 120
|