heroku-buildpack-rust
heroku-buildpack-rust copied to clipboard
Change "find" command to find example binaries
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.