#!/bin/sh # script/test: the correctness check for this static site is a clean # production build. `hugo --minify` exits non-zero on any template, # content, or config error, so a green build is a passing test. set -eu ROOT="$(cd "$(dirname "$0")/.." && pwd -P)" main() { cd "$ROOT" hugo --minify } main "$@"