Commit 136e6e7c authored by rl1987's avatar rl1987 Committed by Nick Mathewson
Browse files

Run shellcheck for stuff in scripts/ as part of 'make check'

parent f8dac5c9
......@@ -215,7 +215,16 @@ doxygen:
test: all
$(top_builddir)/src/test/test
check-local: check-spaces check-changes check-includes
shellcheck:
# Only use shellcheck if it is present
if command -v shellcheck; then \
find $(top_srcdir)/scripts/ -name "*.sh" -exec shellcheck {} +; \
if [ -d "$(top_srcdir)/scripts/test" ]; then \
shellcheck $(top_srcdir)/scripts/test/cov-diff $(top_builddir)/scripts/test/coverage; \
fi; \
fi
check-local: check-spaces check-changes check-includes shellcheck
need-chutney-path:
@if test ! -d "$$CHUTNEY_PATH"; then \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment