hass-core/script/bootstrap
2017-01-25 09:21:09 -08:00

14 lines
284 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 command -v yarn >/dev/null ; then
script/bootstrap_frontend
else
echo "Frontend development not possible without Node/yarn"
fi