diff --git a/.gitignore b/.gitignore index cdb47a7..ccead16 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -*.png +bitcoin_*.png +bitcoin_*.txt /output diff --git a/justfile b/justfile new file mode 100644 index 0000000..14c4c8c --- /dev/null +++ b/justfile @@ -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