Skip to content

Commit

Permalink
add custom Makefile rule for gen-excel
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaypatil96 committed Dec 22, 2023
1 parent 7b53867 commit 7fb1739
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions project.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@

RUN=poetry run

gen-excel: $(SOURCE_SCHEMA_PATH)
$(RUN) gen-excel $< \
--include-mixins \
--split-workbook-by-class \
--output $(DEST)/excel
mkdir -p $(EXCEL_TEMPLATES_DIR)
$(RUN) python src/scripts/organize_excel_files.py \
--mixs-schema-file $< \
--source-directory $(DEST)/excel \
--base-destination-folder $(EXCEL_TEMPLATES_DIR)

assets/mixs_derived_class_term_schemasheet.tsv: src/mixs/schema/mixs.yaml
$(RUN) linkml2schemasheets-template \
--source-path $< \
Expand Down

0 comments on commit 7fb1739

Please sign in to comment.