adaptive-lighting/scripts/setup-symlinks

13 lines
273 B
Text
Raw Permalink Normal View History

#!/usr/bin/env bash
set -ex
cd "$(dirname "$0")/.."
# Link custom components
cd core/homeassistant/components/
ln -fs ../../../custom_components/adaptive_lighting adaptive_lighting
cd -
# Link tests
cd core/tests/components/
ln -fs ../../../tests/ adaptive_lighting
cd -