kornelski / cargo-deb

Make Debian packages directly from Rust/Cargo projects
https://lib.rs/cargo-deb
MIT License
432 stars 52 forks source link

`cargo test` failed on specific target #8

Closed kimw closed 2 years ago

kimw commented 2 years ago

Since the cmd_path was hard coded as "target/debug/cargo-deb" in tests/command.rs:161:5, any cargo test commands with specific target will fail, like cargo test --target=x86_64-unknown-linux-gnu or even cargo test --release.


kornelski commented 2 years ago

I think this is fixed in 7b495087365d58a0cdfcd0e96994f98121e849cd