Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Turner committed Dec 29, 2024
1 parent 56c4345 commit 6de8605
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ install-dependencies:
install: install-targets install-dependencies
echo "Finished installation"

[macos]
build-artifacts:
cargo build --release --manifest-path crates/ffi/Cargo.toml --target aarch64-apple-darwin
cp target/aarch64-apple-darwin/release/libffi.dylib artifacts/
cargo build --release --manifest-path crates/ffi/Cargo.toml

[macos]
copy-artifacts:
cp target/release/libffi.dylib artifacts/

[linux]
build-artifacts:
cargo build --release --manifest-path crates/ffi/Cargo.toml --target aarch64-unknown-linux-gnu
cp target/aarch64-unknown-linux-gnu/release/libffi.so artifacts/
copy-artifacts:
cp target/release/libffi.so artifacts/

publish-dry-run:
cargo publish -n --manifest-path crates/tf_idf/Cargo.toml
Expand Down

0 comments on commit 6de8605

Please sign in to comment.