-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (33 loc) · 996 Bytes
/
Makefile
File metadata and controls
45 lines (33 loc) · 996 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
34
35
36
37
38
39
40
41
42
43
44
45
install:
pip install -e ".[dev,docs]"
test:
pytest tests/ --cov=microimpute --cov-report=xml --maxfail=0
check-format:
ruff format --check .
format:
ruff format .
documentation:
cd docs && jupyter book clean . --all
cd docs && jupyter book build .
python docs/add_plotly_to_book.py docs/_build
build:
pip install build
python -m build
clean:
rm -rf dist/ build/ *.egg-info/
rm -rf docs/_build/
changelog:
python .github/bump_version.py
towncrier build --yes --version $$(python -c "import re; print(re.search(r'version = \"(.+?)\"', open('pyproject.toml').read()).group(1))")
# Dashboard commands
dashboard-install:
cd microimputation-dashboard && npm install
dashboard-dev:
cd microimputation-dashboard && npm run dev
dashboard-build:
cd microimputation-dashboard && npm run build
dashboard-start:
cd microimputation-dashboard && npm run start
dashboard: dashboard-install dashboard-dev
dashboard-clean:
cd microimputation-dashboard && rm -rf node_modules .next out