diff --git a/{{cookiecutter.project_name}}/Makefile b/{{cookiecutter.project_name}}/Makefile index f8e73e5..59688b0 100644 --- a/{{cookiecutter.project_name}}/Makefile +++ b/{{cookiecutter.project_name}}/Makefile @@ -138,6 +138,7 @@ ifneq ($(strip ${GEN_JAVA_ARGS}),) endif # non-empty arg triggers typescript ifneq ($(strip ${GEN_TS_ARGS}),) + mkdir -p ${DEST}/typescript || true $(RUN) gen-typescript ${GEN_TS_ARGS} $(SOURCE_SCHEMA_PATH) >${DEST}/typescript/${SCHEMA_NAME}.ts endif