Add shellcheck to the commit test
Change-Id: Ia7238ff68b5a23cbb253fa870f09a77f6358d88e
diff --git a/Makefile b/Makefile
index 9e9da23..4c61b4e 100644
--- a/Makefile
+++ b/Makefile
@@ -8,13 +8,12 @@
.DEFAULT_GOAL := help
.PHONY: test shellcheck yamllint jsonlint help
-test: ## run all tests
- @echo "No tests enabled yet"
+test: shellcheck ## run all tests
-SHELL_FILES := voltha $(wildcard releases/*) $(wildcard scripts/*)
+SHELL_FILES := voltha
shellcheck: ## check shell scripts with shellcheck
shellcheck --version
- echo shellcheck $(SHELL_FILES)
+ shellcheck $(SHELL_FILES)
YAML_FILES ?= $(shell find . -type f \( -name '*.yaml' -o -name '*.yml' -o -name '*.cfg' \) -print )
yamllint: ## lint check YAML files with yamllint