Add justfile to simplify organizing results for comparison.

This commit is contained in:
sam
2024-11-15 16:36:52 -08:00
parent 502b47842e
commit 2b7abecdcb
2 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
*.png
bitcoin_*.png
bitcoin_*.txt
/output
+11
View File
@@ -0,0 +1,11 @@
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
clean:
rm -f bitcoin_*.png bitcoin_*.txt