advent-of-code/2023/justfile
2023-12-02 23:20:53 -05:00

24 lines
463 B
Makefile

#!/usr/bin/env -S just --justfile
DAY := `date +%d`
setup:
python3 -m venv venv
new:
cp python/_sample.py python/day{{ DAY }}.py
touch full/day{{ DAY }}.txt
touch samples/day{{ DAY }}.txt
full:
/usr/bin/env python3 python/day{{ DAY }}.py
sample:
/usr/bin/env python3 python/day{{ DAY }}.py --sample
wsample:
watch /usr/bin/env python3 python/day{{ DAY }}.py --sample
wfull:
watch /usr/bin/env python3 python/day{{ DAY }}.py