esp-rs / esp-idf-template

A "Hello, world!" template of a Rust binary crate for the ESP-IDF framework.
417 stars 50 forks source link

.gitignore: fix absolute path references in cmake template #62

Closed benhansen-io closed 1 year ago

benhansen-io commented 1 year ago

A slash in the beginning or middle of a gitignore pattern causes the pattern to match only relative to the directory of the .gitignore file1. This means that the 'Cargo.lock' and 'target' patterns were not matching anything and the build pattern was only matching the top level build.

ivmarkov commented 1 year ago

Thanks!