diff --git a/tests/Makefile b/tests/Makefile index c78882c..04dcf09 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -20,7 +20,8 @@ top_srcdir := .. all: \ InvestigativeAction.json \ - ArchiveFile.json + ArchiveFile.json \ + Bag.json ArchiveFile.json: \ $(top_srcdir)/.venv.done.log \ @@ -39,6 +40,23 @@ ArchiveFile.json: \ rm __$@ mv _$@ $@ +Bag.json: \ + $(top_srcdir)/.venv.done.log \ + $(top_srcdir)/src/generate_single_stub_json.py \ + $(top_srcdir)/var/facet_cardinalities.ttl + rm -f __$@ _$@ + source $(top_srcdir)/venv/bin/activate \ + && python $(top_srcdir)/src/generate_single_stub_json.py \ + --debug \ + __$@ \ + http://purl.org/co/Bag \ + $(top_srcdir)/var/facet_cardinalities.ttl + python3 -m json.tool \ + __$@ \ + _$@ + rm __$@ + mv _$@ $@ + InvestigativeAction.json: \ $(top_srcdir)/.venv.done.log \ $(top_srcdir)/src/generate_single_stub_json.py \