Merge branch 'main' of github.com:thomasabishop/neuron-zk-generator
This commit is contained in:
commit
cf350d9e99
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,13 @@ def transfer_files(target_dir, source_dir):
|
||||||
neuron_template.close()
|
neuron_template.close()
|
||||||
print(colored("SUCCESS Templates transferred", "light_green"))
|
print(colored("SUCCESS Templates transferred", "light_green"))
|
||||||
|
|
||||||
|
# Copy favicon
|
||||||
|
shutil.copytree(
|
||||||
|
f"{source_dir}/.neuron-generator/templates/favicon",
|
||||||
|
f"{target_dir}/static",
|
||||||
|
dirs_exist_ok=True,
|
||||||
|
)
|
||||||
|
|
||||||
# Copy images to /static
|
# Copy images to /static
|
||||||
print(colored("INFO Copying static files...", "light_blue"))
|
print(colored("INFO Copying static files...", "light_blue"))
|
||||||
shutil.copytree(f"{source_dir}/img", f"{target_dir}/static", dirs_exist_ok=True)
|
shutil.copytree(f"{source_dir}/img", f"{target_dir}/static", dirs_exist_ok=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue