mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

[question] In assets, can you copy an entire directory? #168

Open emsr opened 3 years ago

emsr commented 3 years ago

When I have something like assets = [ ["target/release/vipre_engine", "/usr/bin/", "755"], ["../documentation/Documents_API_Complete/", "/usr/bin/doc/viper_engine/", "644"], ] it looks like only the files* in the source directory are copied not the subdirectories.

kornelski commented 3 years ago

There's no recursive operation. It uses the glob crate to pick what it copies.