Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
s5suzuki committed Nov 4, 2024
1 parent 237063f commit 2345921
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
LICENSE.txt
*.dll
*.dylib
*.so
3 changes: 0 additions & 3 deletions src/native/.gitignore

This file was deleted.

Empty file removed src/native/linux/x64/.gitkeep
Empty file.
Empty file removed src/native/osx/aarch64/.gitkeep
Empty file.
Empty file removed src/native/windows/x64/.gitkeep
Empty file.

0 comments on commit 2345921

Please sign in to comment.