summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2020-01-03 16:37:27 +0100
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-01-04 16:14:04 +0000
commitf3aebda7eace119444c88df52fb8d6c3e9f4323b (patch)
treed26b359b225681ff3f37a685e7635f727bb5ce8e /Makefile
parent69c2a5895a7233076fdf4328a80bd0777931d159 (diff)
misc: fix feature.yaml
Add checkfeaturelist validation to checkstyle. Fix two files with errors. Type: docs Change-Id: I81eda0e25b271f2006b4da22efdf7218d52a67d3 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e580a31812f..33e4109ade8 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,7 @@ DEB_DEPENDS += lcov chrpath autoconf indent clang-format libnuma-dev
DEB_DEPENDS += python-all python3-all python3-setuptools python-dev
DEB_DEPENDS += python-virtualenv python-pip libffi6 check
DEB_DEPENDS += libboost-all-dev libffi-dev python3-ply libmbedtls-dev
-DEB_DEPENDS += cmake ninja-build uuid-dev python3-jsonschema python3-yaml yamllint
+DEB_DEPENDS += cmake ninja-build uuid-dev python3-jsonschema python3-yaml
DEB_DEPENDS += python3-venv # ensurepip
DEB_DEPENDS += python3-dev # needed for python3 -m pip install psutil
# python3.6 on 16.04 requires python36-dev
@@ -93,7 +93,6 @@ RPM_DEPENDS += selinux-policy selinux-policy-devel
RPM_DEPENDS += ninja-build
RPM_DEPENDS += libuuid-devel
RPM_DEPENDS += mbedtls-devel
-RPM_DEPENDS += yamllint
RPM_DEPENDS += python3-devel # needed for python3 -m pip install psutil
ifeq ($(OS_ID),fedora)
@@ -629,9 +628,8 @@ cscope: cscope.files
@cscope -b -q -v
.PHONY: checkstyle
-checkstyle:
+checkstyle: checkfeaturelist
@build-root/scripts/checkstyle.sh
- yamllint $(WS_ROOT)/src
.PHONY: checkstyle-commit
checkstyle-commit:
@@ -665,7 +663,7 @@ featurelist: centos-pyyaml
.PHONY: checkfeaturelist
checkfeaturelist: centos-pyyaml
- @build-root/scripts/fts.py --validate --git-status
+ @build-root/scripts/fts.py --validate --all
#
# Build the documentation