mirror of
https://github.com/PR0M3TH3AN/python_charts.git
synced 2026-10-27 08:50:39 +00:00
27 lines
524 B
Makefile
27 lines
524 B
Makefile
.PHONY: install data plot plot-custom test clean
|
|
|
|
# Install dependencies & fetch data
|
|
install:
|
|
./startup.sh
|
|
|
|
# Download FRED data (if needed)
|
|
data:
|
|
./startup.sh scripts/refresh_data.py
|
|
|
|
# Default 18-month lag plot
|
|
plot:
|
|
./startup.sh
|
|
|
|
# Custom plot of arbitrary series
|
|
# Usage: make plot-custom ARGS="--series UNRATE CPIAUCSL --start 2000-01-01"
|
|
plot-custom:
|
|
./startup.sh python scripts/custom_chart.py $(ARGS)
|
|
|
|
# Run tests
|
|
test:
|
|
./startup.sh pytest -q
|
|
|
|
# Clean up any outputs (no venv to delete)
|
|
clean:
|
|
rm -rf outputs
|