mirror of
https://github.com/esphome/home-assistant-addon.git
synced 2024-11-16 10:55:19 +01:00
Add warning file to generated folders
This commit is contained in:
parent
6b9694fad1
commit
4e170493c7
@ -38,6 +38,10 @@ def main(args):
|
||||
for file_, conf_ in copyf.items():
|
||||
copyfile(templ / file_, dir_ / file_)
|
||||
|
||||
path = dir_ / 'FILES ARE GENERATED DO NOT EDIT'
|
||||
with open(path, 'w') as f:
|
||||
f.write("Any edits should be made to the files in the 'template' directory")
|
||||
|
||||
if channel == Channel.dev:
|
||||
path = dir_ / 'build.json'
|
||||
build_conf = {
|
||||
|
Loading…
Reference in New Issue
Block a user