mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
* 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
18 lines
377 B
Bash
Executable file
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
|