mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-09-27 21:31:31 +02:00
Makefile: add 'lint' target
For now most plugins contain issues according to 'shellcheck'.
This commit is contained in:
parent
5f1d1b03b5
commit
0c4e577e9a
5
Makefile
5
Makefile
@ -33,6 +33,7 @@ help:
|
||||
@$(info clean - remove assembled 'TARGET_FILE' ($(TARGET_FILE)))
|
||||
@$(info clean-all - remove old releases from 'DIST_DIR' ($(DIST_DIR)))
|
||||
@$(info help - show this overview)
|
||||
@$(info lint - code style checks)
|
||||
@$(info tgz - create release archive)
|
||||
|
||||
.PHONY: all
|
||||
@ -62,3 +63,7 @@ $(TGZ_FILE):
|
||||
@mkdir -p "$(dir $(@))"
|
||||
git archive --prefix=muninlite-$(VERSION)/ --format=tar --output "$@.tmp" HEAD
|
||||
mv "$@.tmp" "$@"
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
shellcheck -s dash --exclude=SC2230 $(PLUGIN_FILES) "$(INPUT_FILE)"
|
||||
|
Loading…
Reference in New Issue
Block a user