blog/build.sh

17 lines
165 B
Bash
Raw Normal View History

#!/bin/sh
set -e;
# Clean up last build
[ -e public/ ] && rm -r public/;
# Build the website
hugo;
# Show the public tree
echo "Build success!";
tree public/