Add warning file to generated folders

This commit is contained in:
Jesse Hills 2021-02-15 08:45:10 +13:00
parent 6b9694fad1
commit 4e170493c7
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -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 = {