File size: 458 Bytes
5ae1418
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

default: install

install:
  @poetry install --only main
  @poetry run spacy download en_core_web_sm

install-dev:
  @poetry self add poetry-plugin-export
  @poetry install

requirements:
  @poetry export -f requirements.txt --output requirements.txt --without dev
  @poetry export -f requirements.txt --output requirements-dev.txt

lint:
  @poetry run pre-commit run --all-files

.PHONY: install install-dev requirements gradio lint run