core/script/bootstrap

15 lines
284 B
Plaintext
Raw Normal View History

2015-09-17 07:38:52 +00:00
#!/bin/sh
# Resolve all dependencies that the application requires to run.
2015-09-17 07:38:52 +00:00
# Stop on errors
set -e
2015-09-17 07:38:52 +00:00
cd "$(dirname "$0")/.."
script/bootstrap_server
if command -v yarn >/dev/null ; then
script/bootstrap_frontend
else
echo "Frontend development not possible without Node/yarn"
fi