mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-05-02 19:00:47 +08:00
13 lines
515 B
Python
13 lines
515 B
Python
import os
|
|
import shutil
|
|
|
|
BUILD_DIR = "build"
|
|
if os.path.exists(f"{BUILD_DIR}\\Release\\nasal.exe"):
|
|
shutil.move(f"{BUILD_DIR}\\Release\\nasal.exe", ".\\nasal.exe")
|
|
if os.path.exists(f"{BUILD_DIR}\\Release\\nasal-format.exe"):
|
|
shutil.move(f"{BUILD_DIR}\\Release\\nasal-format.exe", ".\\nasal-format.exe")
|
|
|
|
for root, dirs, files in os.walk(f"{BUILD_DIR}\\Release"):
|
|
for file in files:
|
|
if file.endswith(".dll"):
|
|
shutil.move(os.path.join(root, file), ".\\module\\lib" + file) |