SEBA-611 Add xproto-test target and fix linting issues
Change-Id: I5f594fbfcae6dec8a15f9713825f3695f154f96c
diff --git a/Makefile b/Makefile
index 98f9de9..866a53c 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@
docker-push:
docker push ${DOCKER_IMAGENAME}
-test: test-unit test-migration
+test: test-unit test-migration test-xproto
test-unit:
tox
@@ -70,6 +70,10 @@
source ./venv-service/bin/activate; set -u;\
cd xos; xos-migrate --xos-dir ${XOS_DIR} --services-dir ${SERVICES_DIR} -s ${SERVICE_NAME} --check
+test-xproto: venv-service
+ source ./venv-service/bin/activate; set -u;\
+ xosgenx --lint --strict xos/synchronizer/models/kubernetes.xproto
+
clean:
find . -name '*.pyc' | xargs rm -f
rm -rf \