MAPG-89 install and update sh scripts to link views in non-DEV mode

This commit is contained in:
bence committed 2020-06-27 00:44:38 +02:00
1 parent c2323c4c89
commit c8a49396c2
2 files changed
+6

No files matched your search

+3
View File
@@ -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
+3
View File
@@ -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