tramhao / termusic

Music Player TUI written in Rust
GNU General Public License v3.0
963 stars 42 forks source link

fix(build.rs): check that the git repository is actually termusic #323

Closed hasezoey closed 1 month ago

hasezoey commented 1 month ago

This PR extends the build.rs scripts to check for specific files to verify that the git repository is actually the termusic repository we expect and not some other like a AUR repository.

Maybe there exists a better way to check if the git repository is correct instead of just checking for specific files in the git toplevel.

i noticed this in https://github.com/tramhao/termusic/issues/320#issuecomment-2132192219