1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00
Files
core/script/bootstrap
Johann Kellerman e53b2fe121 [script] Only bootstrap frontend if npm installed (#5507)
* [scripts] Only bootstrap frontend if npm installed

* Message if not frontend dev possible

* yarn
2017-01-24 16:20:18 -08:00

15 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