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