From c8a49396c2c470613f6b920848452780bcad5a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sat, 27 Jun 2020 00:22:42 +0200 Subject: [PATCH] MAPG-89 install and update sh scripts to link views in non-DEV mode --- scripts/install.sh | 3 +++ scripts/update.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index 4d6044d..d6191c5 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -21,6 +21,9 @@ echo "Migrating DB..." if [ -z "${DEV}" ] || [ "${DEV}" -eq "0" ]; then echo "Minifying JS, CSS and SVG files..." ${ROOT_DIR}/scripts/minify.sh + + echo "Linking view files..." + (cd ${ROOT_DIR} && ./mapg view:link) fi touch ${ROOT_DIR}/installed diff --git a/scripts/update.sh b/scripts/update.sh index 006ec90..8c44bc4 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -20,4 +20,7 @@ echo "Migrating DB..." if [ -z "${DEV}" ] || [ "${DEV}" -eq "0" ]; then echo "Minifying JS, CSS and SVG files..." ${ROOT_DIR}/scripts/minify.sh + + echo "Linking view files..." + (cd ${ROOT_DIR} && ./mapg view:link) fi