publishers:
- archive:
- artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out'
+ artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out,check-include-guards.out'
allow-empty: false
- workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
publishers:
- workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
- archive:
- artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out'
+ artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out,check-include-guards.out'
allow-empty: false
- ircbot: *babeltrace_publisher_ircbot_defaults
- email-ext: *babeltrace_publisher_email-ext_defaults
tools/shellcheck.sh | tee ../../shellcheck.out || exit_code=1
fi
+if [[ -f tools/check-include-guards.sh ]]; then
+ tools/check-include-guards.sh | tee ../../check-include-guards.out || exit_code=1
+fi
+
exit $exit_code