added-yang-linter-and-resolved-all-error-produced-by it
Change-Id: Iba95a07bb1ed6230b9a900448bf294355a58285c
diff --git a/Makefile b/Makefile
index 1c595d7..f785a23 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
all: test
test: # @HELP run the acceptance tests
-test: deps
+test: deps yang-lint
roc-test: # @HELP run the integration tests
roc-test: deps # @HELP run the integration tests
@@ -27,3 +27,13 @@
BEGIN {FS = ": *# *@HELP"}; \
{printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}; \
'
+
+yang-lint:
+ #pyang --lint ./config-models/*.x/files/yang/*.yang
+ pyang --lint ./config-models/aether-1.x/files/yang/*.yang
+ pyang --lint ./config-models/aether-2.x/files/yang/*.yang
+ pyang --lint ./config-models/aether-2.1.x/files/yang/*.yang
+ pyang --lint ./config-models/aether-2.2.x/files/yang/*.yang
+ pyang --lint ./config-models/aether-3.x/files/yang/*.yang
+ pyang --lint ./config-models/aether-4.x/files/yang/*.yang
+ pyang --lint ./config-models/plproxy-1.x/files/yang/*.yang