advent-of-code/2024/justfile

24 lines
463 B
Makefile
Raw Permalink Normal View History

2024-11-26 01:56:32 +00:00
#!/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