15 lines
287 B
Bash
Executable File
15 lines
287 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ROOT_DIR=$(dirname $(readlink -f "$0"))/..
|
|
|
|
. ${ROOT_DIR}/.env
|
|
|
|
echo "Installing Composer packages..."
|
|
(cd ${ROOT_DIR} && composer install)
|
|
|
|
if [ -z "${DEV}" ] || [ "${DEV}" -eq "0" ]; then
|
|
echo "Minifying JS, CSS and SVG files..."
|
|
|
|
${ROOT_DIR}/scripts/minify.sh
|
|
fi
|