File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
{{cookiecutter.project_name}} Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -130,15 +130,17 @@ gen-project: $(PYMODEL)
130
130
131
131
# non-empty arg triggers owl (workaround https://github.com/linkml/linkml/issues/1453)
132
132
ifneq ($(strip ${GEN_OWL_ARGS}) ,)
133
- $(RUN) gen-owl ${GEN_OWL_ARGS} -o ${DEST}/owl/${SCHEMA_NAME}.owl.ttl $(SOURCE_SCHEMA_PATH)
133
+ mkdir -p ${DEST}/owl || true
134
+ $(RUN) gen-owl ${GEN_OWL_ARGS} $(SOURCE_SCHEMA_PATH) >${DEST}/owl/${SCHEMA_NAME}.owl.ttl
134
135
endif
135
136
# non-empty arg triggers java
136
137
ifneq ($(strip ${GEN_JAVA_ARGS}) ,)
137
- $(RUN) gen-java ${GEN_JAVA_ARGS} --output-directory ${DEST}/java/ $(SOURCE_SCHEMA_PATH)
138
+ $(RUN) gen-java ${GEN_JAVA_ARGS} --output-directory ${DEST}/java/ $(SOURCE_SCHEMA_PATH)
138
139
endif
139
140
# non-empty arg triggers typescript
140
141
ifneq ($(strip ${GEN_TS_ARGS}) ,)
141
- $(RUN) gen-typescript ${GEN_TS_ARGS} $(SOURCE_SCHEMA_PATH) >${DEST}/typescript/${SCHEMA_NAME}.ts
142
+ mkdir -p ${DEST}/typescript || true
143
+ $(RUN) gen-typescript ${GEN_TS_ARGS} $(SOURCE_SCHEMA_PATH) >${DEST}/typescript/${SCHEMA_NAME}.ts
142
144
endif
143
145
144
146
test : test-schema test-python test-examples
You can’t perform that action at this time.
0 commit comments