Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
zh217 committed Nov 6, 2022
1 parent 60d1ec2 commit dada4b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions build_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
cp target/release/cozo_node.dll native/6/index.node
yarn package

0 comments on commit dada4b0

Please sign in to comment.