[cad161]: / Makefile

Download this file

30 lines (21 with data), 495 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
.ONESHELL:
SHELL:=/bin/bash
.PHONY: create-env install documentation test
default:
@echo "Call a specific subcommand: create-env,install,documentation,test"
.venv:
python -m venv .venv
create-env: .venv
install : .venv
. .venv/bin/activate
pip install -r '.[dev,setup]'.txt
python scripts/conjugate_verbs.py
pip install -e .
pre-commit install
documentation: .venv
. .venv/bin/activate
pip install -e '.[docs]'
mkdocs serve
test: .venv
. .venv/bin/activate
python -m pytest