Files
drstats/Makefile
T
retoor b4c969e62a chore: remove clean step from all target and update dataset export path in readme
The clean step was removed from the default build pipeline to preserve historic statistics across builds, as deleted data still consumes git storage. Additionally, the dataset export filename was changed from dataset.txt to 0_dataset.txt, and the corresponding link in the README was updated to reflect this new path.
2024-11-23 20:05:45 +00:00

33 lines
763 B
Makefile

all: build sync_excempt export_dataset export_stats merge_images
build:
pip install build
python -m build .
pip install -e .
sync:
dr.sync
clean:
-@rm -r export
mkdir -p export
sync_excempt:
@echo "Sync is not executed because it's a lengthy process ending with timeout error."
export_stats:
@echo "Make sure you have ran 'make sync' first. Results will be in ./export/"
@echo "Exporting statisticts."
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
merge_images:
@echo "Merging images to one big image. Result will be ./export/1_graphs_compliation.png."
python merge_images.py