MAPG-89 install and update sh scripts to link views in non-DEV mode
This commit is contained in:
parent
c2323c4c89
commit
c8a49396c2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user