-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (25 loc) · 925 Bytes
/
Makefile
File metadata and controls
31 lines (25 loc) · 925 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
clean:
find . -name '*egg-info' | xargs rm -rf
find . -name '.coverage' | xargs rm -rf
find . -name '.mypy_cache' | xargs rm -rf
find . -name '.pytest_cache' | xargs rm -rf
find . -name '.tox' | xargs rm -rf
find . -name '__pycache__' | xargs rm -rf
find . -name 'reports' | xargs rm -rf
find . -name '.ruff_cache' | xargs rm -rf
find . -name '.ipynb_checkpoints' | xargs rm -rf
find . -name '*.pyc' -delete 2>&1
find . -name '*.pyo' -delete 2>&1
prerequisites:
pip3 install -U pip setuptools wheel setuptools_scm[toml]
install:prerequisites
pip3 install -U --upgrade-strategy eager .
develop:prerequisites
pip3 install -U --upgrade-strategy eager -e '.[dev]'
lint:
pre-commit run --all-files --hook-stage manual
package:prerequisites
pip3 install -U --upgrade-strategy eager build
pyproject-build --no-isolation
test:
python -m pytest tests/ --cov=farkle --cov-report=xml --cov-config=pyproject.toml