-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathMakefile
32 lines (26 loc) · 872 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
build:
uv run python -m build --sdist --wheel
docker:
docker build . -t flaport/sax:latest -f Dockerfile.dev
docker build . -t flaport/sax:0.14.2 -f Dockerfile.dev
pre-commit:
pre-commit install
nbrun:
find . -name "*.ipynb" -not -path "*/.ipynb_checkpoints/*" | xargs parallel -j `nproc --all` uv run papermill {} {} -k python3 :::
rm -rf modes
dockerpush:
docker push flaport/sax:latest
docker push flaport/sax:0.14.2
.PHONY: docs
docs:
cd docs/source/ && make && cd .. && make html
clean:
find . -name "modes" | xargs rm -rf
find . -name "dist" | xargs rm -rf
find . -name "build" | xargs rm -rf
find . -name "builds" | xargs rm -rf
find . -name "__pycache__" | xargs rm -rf
find . -name "*.so" | xargs rm -rf
find . -name ".ipynb_checkpoints" | xargs rm -rf
find . -name ".pytest_cache" | xargs rm -rf
find . -name ".mypy_cache" | xargs rm -rf