# vim: ft=sh
# shellcheck shell=bash
make_site() { #@test
cd ./tests/make || exit 1
run make
test -f index.html
test "$(cat index.html)" = "
TEST
"
run make clean
test ! -f index.html
}
make_with_layout() { #@test
cd ./tests/make || exit 1
run make layout=layout.html
test -f index.html
test "$(cat index.html)" = "TEST
"
run make clean
test ! -f index.html
}