diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99c2a214e..69e3a217e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,8 +62,8 @@ jobs: - name: "Check" run: cargo check --all - - name: "Build" - run: cargo build --all + - name: "Build (Without Python node as it is build with maturin)" + run: cargo build --all --exclude dora-node-api-python - name: "Test" # Remove Windows as there is `pdb` linker issue. # See: https://github.com/dora-rs/dora/pull/359#discussion_r1360268497 @@ -243,30 +243,30 @@ jobs: # fail-fast by using bash shell explictly shell: bash run: | - dora-cli up - dora-cli list + dora up + dora list # Test Rust template Project - dora-cli new test_rust_project --internal-create-with-path-dependencies + dora new test_rust_project --internal-create-with-path-dependencies cd test_rust_project cargo build --all - dora-cli start dataflow.yml --name ci-rust-test + dora start dataflow.yml --name ci-rust-test sleep 10 - dora-cli stop --name ci-rust-test + dora stop --name ci-rust-test cd .. # Test Python template Project pip3 install maturin maturin build -m apis/python/node/Cargo.toml pip3 install target/wheels/* - dora-cli new test_python_project --lang python --internal-create-with-path-dependencies + dora new test_python_project --lang python --internal-create-with-path-dependencies cd test_python_project - dora-cli start dataflow.yml --name ci-python-test + dora start dataflow.yml --name ci-python-test sleep 10 - dora-cli stop --name ci-python-test + dora stop --name ci-python-test cd .. - dora-cli destroy + dora destroy clippy: name: "Clippy" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70ad00246..ce75ed885 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,7 +92,7 @@ jobs: New-Item -Path archive -ItemType Directory Copy-Item target/release/dora-coordinator.exe -Destination archive Copy-Item target/release/dora-daemon.exe -Destination archive - Copy-Item target/release/dora-cli.exe -Destination archive/dora.exe + Copy-Item target/release/dora.exe -Destination archive/dora.exe Compress-Archive -Path archive\* -DestinationPath archive.zip - name: "Upload release asset" @@ -130,7 +130,7 @@ jobs: mkdir archive cp target/release/dora-coordinator archive cp target/release/dora-daemon archive - cp target/release/dora-cli archive/dora + cp target/release/dora archive/dora cd archive zip -r ../archive.zip . cd .. @@ -174,7 +174,7 @@ jobs: mkdir archive_aarch64 cp target/aarch64-unknown-linux-gnu/release/dora-coordinator archive_aarch64 cp target/aarch64-unknown-linux-gnu/release/dora-daemon archive_aarch64 - cp target/aarch64-unknown-linux-gnu/release/dora-cli archive_aarch64/dora + cp target/aarch64-unknown-linux-gnu/release/dora archive_aarch64/dora cd archive_aarch64 zip -r ../archive_aarch64.zip . cd .. @@ -221,7 +221,7 @@ jobs: mkdir archive_aarch64 cp target/aarch64-apple-darwin/release/dora-coordinator archive_aarch64 cp target/aarch64-apple-darwin/release/dora-daemon archive_aarch64 - cp target/aarch64-apple-darwin/release/dora-cli archive_aarch64/dora + cp target/aarch64-apple-darwin/release/dora archive_aarch64/dora cd archive_aarch64 zip -r ../archive_aarch64.zip . cd .. diff --git a/README.md b/README.md index 7be33f386..78f1f4eae 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ Quickest way: ```bash cargo install dora-cli -alias dora='dora-cli' cargo install dora-coordinator cargo install dora-daemon pip install dora-rs ## For Python API diff --git a/apis/python/node/Cargo.toml b/apis/python/node/Cargo.toml index 71bc9a10d..3fbcccb8b 100644 --- a/apis/python/node/Cargo.toml +++ b/apis/python/node/Cargo.toml @@ -28,4 +28,4 @@ dora-ros2-bridge-python = { workspace = true } [lib] name = "dora" -crate-type = ["lib", "cdylib"] +crate-type = ["cdylib"] diff --git a/binaries/cli/Cargo.toml b/binaries/cli/Cargo.toml index 8cc9d38c0..aa3b23f2b 100644 --- a/binaries/cli/Cargo.toml +++ b/binaries/cli/Cargo.toml @@ -9,7 +9,7 @@ license.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]] -name = "dora-cli" +name = "dora" path = "src/main.rs" [features] diff --git a/libraries/arrow-convert/src/from_impls.rs b/libraries/arrow-convert/src/from_impls.rs index 8d918a3aa..db484c6b3 100644 --- a/libraries/arrow-convert/src/from_impls.rs +++ b/libraries/arrow-convert/src/from_impls.rs @@ -1,5 +1,5 @@ use arrow::{ - array::{make_array, Array, AsArray, PrimitiveArray, StringArray}, + array::{Array, AsArray, PrimitiveArray, StringArray}, datatypes::ArrowPrimitiveType, }; use eyre::ContextCompat;