make sure there is a symlink to fonts when running the local server for lab
This commit is contained in:
parent
fffd0c2ebc
commit
23e527398d
1 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,10 @@
|
||||||
set -e
|
set -e
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
if [ ! -s docs/lab/fonts ]; then
|
||||||
|
ln -s ../../build/dist docs/lab/fonts
|
||||||
|
fi
|
||||||
|
|
||||||
if (which caddy >/dev/null); then
|
if (which caddy >/dev/null); then
|
||||||
caddy_args=(\
|
caddy_args=(\
|
||||||
-host localhost \
|
-host localhost \
|
||||||
|
|
|
||||||
Reference in a new issue