Skip to content
Snippets Groups Projects

Resolve "Update composer and yarn dependencies"

6 files
+ 797
960
Compare changes
  • Side-by-side
  • Inline

Files

#!/usr/bin/env bash
if [ -f .env.local ]; then
sed -i "s/^APP_ENV=prod$/APP_ENV=dev/g" .env.local
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
if [[ -f "${CURRENT_DIR}/.env.local" ]]; then
sed -i "s|^APP_ENV=prod$|APP_ENV=dev|g" "${CURRENT_DIR}/.env.local"
fi
composer install
yarn install
yarn encore dev --watch
Loading