make sure there is a symlink to fonts when running the local server for lab

This commit is contained in:
Rasmus Andersson 2017-08-22 03:27:17 -07:00
parent fffd0c2ebc
commit 23e527398d

View file

@ -2,6 +2,10 @@
set -e
cd "$(dirname "$0")"
if [ ! -s docs/lab/fonts ]; then
ln -s ../../build/dist docs/lab/fonts
fi
if (which caddy >/dev/null); then
caddy_args=(\
-host localhost \