| 1 |
pytest: |
| 2 |
maturin develop |
| 3 |
.venv/bin/pytest |
| 4 |
|
| 5 |
test: pytest |
| 6 |
cargo test |
| 7 |
|
| 8 |
deploy-docs: |
| 9 |
. .venv/bin/activate |
| 10 |
mkdocs gh-deploy |
| 11 |
|
| 12 |
venv: |
| 13 |
rm -rf .venv |
| 14 |
python3 -m venv .venv |
| 15 |
. .venv/bin/activate |
| 16 |
.venv/bin/pip install wheel pytest mkdocs-material |
| 17 |
.venv/bin/pip install jupyter pandas seaborn |
| 18 |
|
| 19 |
|
| 20 |
timedruns-old: |
| 21 |
.venv/bin/pip install jellyfish==0.10.0 # last C version |
| 22 |
.venv/bin/python benchmarks/timedruns.py old > benchmarks/timedruns-old.csv |
| 23 |
|
| 24 |
timedruns-new: |
| 25 |
.venv/bin/pip uninstall jellyfish |
| 26 |
.venv/bin/pip install -e . |
| 27 |
#.venv/bin/pip install --pre jellyfish # latest Rust version |
| 28 |
.venv/bin/python benchmarks/timedruns.py new >> benchmarks/timedruns-new.csv |