mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
script/setup and script/setup.bat implemented the same workflow and were kept in sync by hand, which had already drifted: the worktree hook fix in #18843 landed in the bash script only. Both are now thin wrappers around script/setup.py, so there is one implementation to maintain. The post-checkout hook also checks for a venv/Scripts layout before doing anything, so a branch switch on Windows can no longer clear a working virtual environment.
8 lines
233 B
Bash
Executable File
8 lines
233 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Set up ESPHome dev environment.
|
|
#
|
|
# The work is done by setup.py, which script/setup.bat also runs, so the Unix
|
|
# and Windows entry points share one implementation.
|
|
|
|
exec python3 "$(dirname "$0")/setup.py" "$@"
|