2022-03-01 23:07:01 +00:00
|
|
|
# show all recipes
|
|
|
|
default:
|
|
|
|
just --list
|
|
|
|
|
|
|
|
# build
|
|
|
|
build:
|
2022-03-12 17:06:34 +00:00
|
|
|
make -B build
|
2022-03-01 23:07:01 +00:00
|
|
|
|
2022-03-04 00:00:50 +00:00
|
|
|
# make fred say something
|
|
|
|
say phrase out:
|
|
|
|
say -v 'Fred' -r 100 -o {{out}} {{phrase}}
|
|
|
|
|
2022-03-01 23:07:01 +00:00
|
|
|
# watch for changes
|
|
|
|
watch:
|
|
|
|
ls content/*.md | entr make build
|
|
|
|
|
2022-03-04 00:00:50 +00:00
|
|
|
# length <file>
|
|
|
|
length file:
|
|
|
|
@wc -c < {{file}} #| cut -d ' ' -f 7
|
|
|
|
|
|
|
|
# duration <file>
|
|
|
|
duration file:
|
|
|
|
@ffprobe -show_entries stream=duration -of compact=p=0:nk=1 -v fatal {{file}}
|
2022-03-01 23:07:01 +00:00
|
|
|
|
|
|
|
# clean dist
|
|
|
|
clean:
|
|
|
|
rm -rf dist/*
|
|
|
|
touch dist/.gitkeep
|
2022-03-04 00:00:50 +00:00
|
|
|
|
|
|
|
# upload
|
|
|
|
up:
|
|
|
|
rsync -azP dist/ tilde:public_html/podcast
|