Browse Source

fix: copy all files

Signed-off-by: QuentinN42 <quentin@lieumont.fr>
master
QuentinN42 5 months ago
parent
commit
d9b1991fa0
Signed by untrusted user: number42 GPG Key ID: 2CD7D563712B3A50
  1. 6
      builder/__main__.py

6
builder/__main__.py

@ -62,10 +62,8 @@ def list_static_files() -> list:
def process_static() -> None:
"""Copy all static files."""
mkdir(OUT_DIR + STATIC_FOLDER)
for file in list_static_files():
print(f'┃ Copying {file}...')
shutil.copytree(STATIC_FOLDER + file, OUT_DIR + STATIC_FOLDER + file)
print(f'┃ Copying {OUT_DIR + STATIC_FOLDER}...')
shutil.copytree(STATIC_FOLDER, OUT_DIR + STATIC_FOLDER)
def main():

Loading…
Cancel
Save