Skip to content

Add CASE 1.2.0 release #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions case_utils/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,16 @@ all: \
.PRECIOUS: \
case-$(case_version).ttl

$(case_srcdir)/.venv.done.log: \
$(top_srcdir)/.git_submodule_init.done.log
$(MAKE) \
--directory $(case_srcdir) \
.venv.done.log
touch -c $@
test -r $@

case-$(case_version).ttl: \
$(top_srcdir)/.git_submodule_init.done.log \
$(case_srcdir)/.venv.done.log \
$(RDF_TOOLKIT_JAR)
$(MAKE) \
--directory $(case_srcdir)/tests \
Expand All @@ -47,10 +55,7 @@ case-$(case_version)-subclasses.ttl: \
# release is being made, that step will have been skipped.
# This recursive Make call guarantees the virtual environment is
# set up.
$(MAKE) \
--directory $(case_srcdir)/tests \
.venv.done.log
source $(case_srcdir)/tests/venv/bin/activate \
source $(case_srcdir)/venv/bin/activate \
&& python3 src/subclasses_ttl.py \
__$@ \
$<
Expand All @@ -70,11 +75,7 @@ clean:
ontology_and_version_iris.txt: \
src/ontology_and_version_iris.py \
case-$(case_version)-subclasses.ttl
# Guarantee venv is built. (Same rationale as in the subclasses.ttl recipe.)
$(MAKE) \
--directory $(case_srcdir)/tests \
.venv.done.log
source $(case_srcdir)/tests/venv/bin/activate \
source $(case_srcdir)/venv/bin/activate \
&& python3 src/ontology_and_version_iris.py \
_$@ \
case-*.ttl
Expand Down
Loading