23 lines
427 B
Makefile
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
|
|
|
|
|