-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
28 lines (18 loc) · 1.2 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
default: test clean install
install:
pip install .
clean:
rm -rdf dist/ build/ mext_lang.egg-info/
test:
python -m unittest tests.test
readme_src/README.yaml: readme_src/README-yaml.yaml readme_src/README-yaml.mext
python -m mext.scripts.render_mext readme_src/README-yaml.mext -o readme_src/README.yaml
README.md: readme_src/* docs/syntax.md docs/usage_as_a_template_language.md docs/render_prompts_for_llm.md
python -m mext.scripts.render_mext readme_src/README.mext -o README.md
docs/syntax.md: readme_src/README.yaml readme_src/syntax.mext tests/mext/readme/syntax/*
python -m mext.scripts.render_mext readme_src/syntax.mext -o docs/syntax.md
docs/usage_as_a_template_language.md: readme_src/README.yaml readme_src/template_language_usage.mext tests/mext/readme/template_language_usage/*
python -m mext.scripts.render_mext readme_src/template_language_usage.mext -o docs/usage_as_a_template_language.md
docs/render_prompts_for_llm.md: readme_src/README.yaml readme_src/render_prompts_for_llm.mext examples/prompts_for_llm.py
python -m mext.scripts.render_mext readme_src/render_prompts_for_llm.mext -o docs/render_prompts_for_llm.md
documents: docs/syntax.md docs/usage_as_a_template_language.md README.md