diff options
author | Rasmus Andersson <rasmus@notion.se> | 2017-08-22 13:27:17 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2017-08-22 13:27:17 +0300 |
commit | 23e527398d8cae84d046178bcf8c7eeea90ab154 (patch) | |
tree | 12f89d63bc59e61b3c108d732b60ad2cd5a423cf | |
parent | fffd0c2ebc8095105645ebfe5ec2485bb1890322 (diff) | |
download | inter-23e527398d8cae84d046178bcf8c7eeea90ab154.tar.xz |
make sure there is a symlink to fonts when running the local server for lab
-rwxr-xr-x | docs/serve.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/serve.sh b/docs/serve.sh index c9cb7b6ef..fd8b94c63 100755 --- a/docs/serve.sh +++ b/docs/serve.sh @@ -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 \ |