Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/only-valid-models'
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Feb 7, 2024
2 parents 1395957 + 4c40545 commit a38223c
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 115,394 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
.PHONY: all environment compile-models clean refresh-ontoenv
.PHONY: all environment compile-models clean

# Assuming 'all' should build everything. If 'environment' is a task that should be run,
# you need to add a corresponding recipe for it.
all: refresh-ontoenv compile-models
all: compile-models

# MODEL_SOURCES will find all .ttl files in the models directory.
MODEL_SOURCES := $(wildcard models/*.ttl)

# COMPILED_MODELS will be the list of files but in the models/compiled folder.
COMPILED_MODELS := $(patsubst models/%.ttl,models/compiled/%.ttl,$(MODEL_SOURCES))

refresh-ontoenv:
ontoenv init -s ontologies/ -v

# Rule to compile each model.
# The prerequisite 'models/%.ttl' means it will match each .ttl file in the models directory.
# 'tools/compile.py' ensures the compile script is present, but should be a prerequisite only if you want to track changes on it.
Expand Down
Loading

0 comments on commit a38223c

Please sign in to comment.