diff --git a/build.py b/build.py index b322a45..373428b 100644 --- a/build.py +++ b/build.py @@ -64,6 +64,9 @@ def download_and_extract(url: str, *dest_dirs: str) -> None: tar.extractall(filter="fully_trusted") tmp_file.unlink() + for dest_dir in dest_dirs: + Path(dest_dir).mkdir(parents=True, exist_ok=True) + for dll in Path("bin").glob("*.dll"): for dest_dir in dest_dirs: shutil.copy(dll, dest_dir) diff --git a/src/.gitignore b/src/.gitignore index 35252fd..e994ce2 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1 +1,4 @@ LICENSE.txt +*.dll +*.dylib +*.so diff --git a/src/native/.gitignore b/src/native/.gitignore deleted file mode 100644 index 0c01ec2..0000000 --- a/src/native/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.dll -*.dylib -*.so diff --git a/src/native/linux/x64/.gitkeep b/src/native/linux/x64/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/native/osx/aarch64/.gitkeep b/src/native/osx/aarch64/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/native/windows/x64/.gitkeep b/src/native/windows/x64/.gitkeep deleted file mode 100644 index e69de29..0000000