Files
bitcoin-model/justfile
T

18 lines
341 B
Makefile
Raw Normal View History

run *name:
python3 ./model.py
@if [[ ! -z "{{ name }}" ]]; then \
OUT_DIR="output/{{ name }}"; \
rm -rf "${OUT_DIR}"; \
mkdir -p "${OUT_DIR}"; \
mv bitcoin_*.png bitcoin_*.txt "${OUT_DIR}"; \
fi
2024-11-15 22:48:17 -08:00
fmt:
black ./*.py
2024-11-16 14:07:24 -08:00
lint:
ruff check ./model.py
clean:
rm -f bitcoin_*.png bitcoin_*.txt