From 08d1bfd7c51d36d42764345e19d6f2af820924c6 Mon Sep 17 00:00:00 2001 From: Devon Mackay Date: Mon, 2 Jul 2018 10:40:04 -0400 Subject: [PATCH] Link to uswds fonts should come after node module is installed --- script/bootstrap | 4 ++++ script/setup | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/script/bootstrap b/script/bootstrap index 922e23e3..034b2974 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -28,5 +28,9 @@ pipenv install ${PIPENV_INSTALL_FLAGS} # Install uswds node module and dependencies npm install +# Relink uswds fonts into the /static directory +rm -f ./static/fonts +ln -s ../node_modules/uswds/src/fonts ./static/fonts + # Precompile assets for deployment ${WEBASSETS_CMD} -m atst.assets build diff --git a/script/setup b/script/setup index cb3389c3..e96c12df 100755 --- a/script/setup +++ b/script/setup @@ -23,7 +23,3 @@ fi # Install application dependencies script/bootstrap - -# Symlink uswds fonts into the /static directory -rm -f ./static/fonts -ln -s ../node_modules/uswds/src/fonts ./static/fonts