From dada4b0c88d6caba5d793d35ca9bbfbfaa68d718 Mon Sep 17 00:00:00 2001 From: Ziyang Hu Date: Sun, 6 Nov 2022 15:39:33 +0800 Subject: [PATCH] fix path --- build_linux.sh | 2 +- build_mac.sh | 2 +- build_win.ps1 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build_linux.sh b/build_linux.sh index 83d6952..daeb845 100755 --- a/build_linux.sh +++ b/build_linux.sh @@ -3,5 +3,5 @@ rm -fr native mkdir -p native/6 cross build --target=x86_64-unknown-linux-gnu --release -mv target/release/libcozo_nodejs.so native/6/index.node +mv target/release/libcozo_node.so native/6/index.node yarn package diff --git a/build_mac.sh b/build_mac.sh index 6853e73..63a0b4c 100755 --- a/build_mac.sh +++ b/build_mac.sh @@ -3,5 +3,5 @@ rm -fr native mkdir -p native/6 cargo build --release -mv target/release/libcozo_nodejs.dylib native/6/index.node +mv target/release/libcozo_node.dylib native/6/index.node yarn package diff --git a/build_win.ps1 b/build_win.ps1 index 5d3d095..223109d 100644 --- a/build_win.ps1 +++ b/build_win.ps1 @@ -5,5 +5,5 @@ if (test-path native/6/index.node) { } cargo build --release -cp target/release/cozo_nodejs.dll native/6/index.node -yarn package \ No newline at end of file +cp target/release/cozo_node.dll native/6/index.node +yarn package