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

23 lines
427 B
Makefile

#!/usr/bin/env -S just --justfile
DAY := `date +%d`
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
ws:
watch /usr/bin/env python3 python/day{{ DAY }}.py --sample
watch:
watch /usr/bin/env python3 python/day{{ DAY }}.py