24 lines
463 B
Makefile
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
|