adaptive-lighting/scripts/setup-devcontainer
Bas Nijholt d23f6ec63a
Fix test_proactive_adaptation_with_separate_commands (#970)
* Add link script

* Set run_immediately=False

* Add await hass.async_block_till_done()

* Use scripts/link

* Rename scripts

* Links in devcontainer

* Install from setup script
2024-04-07 14:01:05 +02:00

18 lines
377 B
Bash
Executable file

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
# Clone only if the folder doesn't exist
if [[ ! -d "core" ]]; then
git clone --depth 1 --branch dev https://github.com/home-assistant/core.git
fi
pip install \
colorlog==6.7.0 \
pip>=21.0,<23.2 \
ruff==0.0.265 \
pre-commit
./scripts/setup-dependencies
./scripts/setup-symlinks
pre-commit install-hooks