From d11d7b1c2526f860bf40dba08acb117dcf5745f2 Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Fri, 1 Dec 2023 15:41:53 +0100 Subject: [PATCH] Update makefile with new tools Signed-off-by: Erik Jaegervall --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8f88afaee..beaae5b33 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,13 @@ # Makefile to generate specifications # -.PHONY: clean all mandatory_targets json franca yaml csv ddsidl tests binary protobuf ttl graphql ocf c overlays +.PHONY: clean all mandatory_targets json franca yaml csv ddsidl tests binary protobuf ttl graphql ocf c overlays id jsonschema -all: clean json franca yaml csv ddsidl binary tests protobuf graphql overlays ttl +all: clean mandatory_targets optional_targets # All mandatory targets that shall be built and pass on each pull request for # vehicle-signal-specification or vss-tools -mandatory_targets: clean json franca yaml binary csv graphql ddsidl overlays tests +mandatory_targets: clean json franca yaml binary csv graphql ddsidl id jsonschema overlays tests # Additional targets that shall be built by travis, but where it is not mandatory # that the builds shall pass. @@ -23,6 +23,9 @@ TOOLSDIR?=./vss-tools json: ${TOOLSDIR}/vspec2json.py -I ./spec --uuid -u ./spec/units.yaml ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).json +jsonschema: + ${TOOLSDIR}/vspec2jsonschema.py -I ./spec --uuid -u ./spec/units.yaml ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).jsonschema + franca: ${TOOLSDIR}/vspec2franca.py -v $$(cat VERSION) -I ./spec --uuid -u ./spec/units.yaml ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).fidl @@ -56,6 +59,9 @@ graphql: ttl: ${TOOLSDIR}/contrib/vspec2ttl/vspec2ttl.py -I ./spec -u ./spec/units.yaml ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).ttl +id: + ${TOOLSDIR}/vspec2id.py -I ./spec --uuid -u ./spec/units.yaml ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).vspec + clean: rm -f ${TOOLSDIR}/binary/binarytool.so rm -f vss_rel_*