* [scripts] Only bootstrap frontend if npm installed * Message if not frontend dev possible * yarn
14 lines
295 B
Bash
Executable file
14 lines
295 B
Bash
Executable file
#!/bin/sh
|
|
# Resolve all dependencies that the application requires to run.
|
|
|
|
# Stop on errors
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
script/bootstrap_server
|
|
|
|
if [ -x "$(command -v yarn >/dev/null)" ]; then
|
|
script/bootstrap_frontend
|
|
else
|
|
echo "Frontend development not possible without Node/yarn"
|
|
fi
|