emk / heroku-buildpack-rust

A buildpack for Rust applications on Heroku, with full support for Rustup, cargo and build caching.
522 stars 186 forks source link

Change "find" command to find example binaries #64

Open mateocabanal opened 2 years ago

mateocabanal commented 2 years ago

When building with cargo build --example whatever, cargo places the resulting binary into target/release/examples/whatever. The find command's argument, maxdepth is set at 1, which excluded the examples directory. Changing this to 2 lets find look into the example directory.