5 rsync --quiet --recursive src/assets dist/
6 rsync --quiet --recursive src/templates dist/
7 rsync --quiet --recursive src/partials dist/
9 rsync --quiet src/*.js dist/
12 cat src/layout.html | perl -pe'use File::Slurper qw(read_text); s/\@include\((.+?)\)/read_text($1)/eg' > /tmp/included.html
14 cat /tmp/included.html | perl -pe's/BODYID/search-page/g' > dist/search.html
15 cat /tmp/included.html | perl -pe's/BODYID/reverse-page/g' > dist/reverse.html
16 cat /tmp/included.html | perl -pe's/BODYID/details-page/g' > dist/details.html