File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 1- .PHONY : test install dev venv clean activate base
1+ .PHONY : test install dev clean
22.ONESHELL :
33
44test : activate
55 export MOCK_TRAITER=1
66 ./.venv/bin/python -m unittest discover
77 export MOCK_TRAITER=0
88
9- install : venv activate base
9+ install :
10+ test -d .venv || python3.11 -m venv .venv
11+ . .venv/bin/activate
12+ ./.venv/bin/python -m pip install -U pip setuptools wheel
13+ ./.venv/bin/python -m pip install -e ../../misc/spell-well
1014 ./.venv/bin/python -m pip install git+https://github.com/rafelafrance/spell-well.git@main#egg=spell-well
11- ./.venv/bin/python -m pip install git+https://github.com/rafelafrance/traiter.git@master #egg=traiter
15+ ./.venv/bin/python -m pip install git+https://github.com/rafelafrance/traiter.git@v2.2.3 #egg=traiter
1216 ./.venv/bin/python -m pip install .
1317 ./.venv/bin/python -m spacy download en_core_web_md
1418
15- dev : venv activate base
19+ dev :
20+ test -d .venv || python3.11 -m venv .venv
21+ . .venv/bin/activate
22+ ./.venv/bin/python -m pip install -U pip setuptools wheel
23+ ./.venv/bin/python -m pip install -e ../../misc/spell-well
1624 ./.venv/bin/python -m pip install -e ../../misc/spell-well
1725 ./.venv/bin/python -m pip install -e ../../traiter/traiter
1826 ./.venv/bin/python -m pip install -e .[dev]
1927 ./.venv/bin/python -m spacy download en_core_web_md
2028 pre-commit install
2129
22- activate :
23- . .venv/bin/activate
24-
25- base :
26- ./.venv/bin/python -m pip install -U pip setuptools wheel
27-
28- venv :
29- test -d .venv || python3.11 -m venv .venv
30-
3130clean :
3231 rm -r .venv
3332 find -iname " *.pyc" -delete
You can’t perform that action at this time.
0 commit comments