mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
* Fix permissions for `scripts/setup` * Add new script * Use script * Update Dockerfile * Rename and clone * Perms * Fix * fi
11 lines
250 B
Bash
Executable file
11 lines
250 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
|
|
|
|
./scripts/install_ha
|
|
pre-commit install-hooks
|