mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Run shellcheck for stuff in scripts/ as part of 'make check'
This commit is contained in:
parent
f8dac5c900
commit
136e6e7ceb
11
Makefile.am
11
Makefile.am
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user