forked from online-ml/river
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (25 loc) · 839 Bytes
/
Makefile
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
COMMIT_HASH := $(shell eval git rev-parse HEAD)
format:
pre-commit run --all-files
execute-notebooks:
jupyter nbconvert --execute --to notebook --inplace docs/*/*.ipynb --ExecutePreprocessor.timeout=-1
render-notebooks:
jupyter nbconvert --to markdown docs/introduction/*/*.ipynb
jupyter nbconvert --to markdown docs/recipes/**.ipynb
jupyter nbconvert --to markdown docs/examples/**.ipynb
doc: render-notebooks
(cd benchmarks && python render.py)
yamp river --out docs/api --verbose
mkdocs build
livedoc: doc
mkdocs serve --dirtyreload
rebase:
git fetch && git rebase origin/main
develop:
python ./setup.py develop
build-cython:
python setup.py build_ext --inplace --force
build-rust:
python setup.py build_rust --inplace --release
build:
python setup.py build_rust --inplace --release build_ext --inplace --force