fix: prefix dr.sync, dr.stats_all, dr.dataset, and merge_images.py with ./venv/bin/ in Makefile targets

This commit is contained in:
retoor 2024-11-25 19:15:31 +00:00
parent 81c5d77676
commit ed190ec774

View File

@ -8,7 +8,7 @@ build:
sync:
dr.sync
./venv/bin/dr.sync
clean:
-@rm -r export
@ -20,12 +20,12 @@ sync_excempt:
export_stats:
@echo "Make sure you have ran 'make sync' first. Results will be in ./export/"
@echo "Exporting statisticts."
dr.stats_all
./venv/bin/dr.stats_all
export_dataset:
@echo "Make sure you have ran 'make sync' first."
@echo "Exporting dataset to be used for LLM embedding. Result will be ./export/0_dataset.txt"
dr.dataset > export/0_dataset.txt
./venv/bin/dr.dataset > export/0_dataset.txt
export_statistics:
@echo "Exporting statisticts. Result will be ./export/2_statistics.txt"
@ -41,6 +41,6 @@ export_mentions:
merge_images:
@echo "Merging images to one big image. Result will be ./export/1_graphs_compliation.png."
python merge_images.py
./venv/bin/python merge_images.py