-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (28 loc) · 716 Bytes
/
Makefile
File metadata and controls
33 lines (28 loc) · 716 Bytes
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
29
30
31
32
33
# -------------------------------------------------------------
# Project: spaCy Core
# -------------------------------------------------------------
ifeq ($(OS),Windows_NT)
os_shell := powershell
download_spacy_model := .\resources\scripts\download-spacy-model.ps1
else
os_shell := bash
poetry_remove_lib := resources/scripts/poetry_remove_lib.sh
download_spacy_model := ./resources/scripts/download-spacy-model.sh
endif
# Download the Spacy model
get_model:
$(os_shell) $(download_spacy_model)
test:
poetry run pytest
build:
make get_model
poetry lock
poetry check
poetry update
poetry build
poetry install
regress:
poetry run python regression/regression_runner.py
all:
make build
make test