Michael-F-Bryan / mdbook-linkcheck

A backend for `mdbook` which will check your links for you.
https://michael-f-bryan.github.io/mdbook-linkcheck/
MIT License
141 stars 29 forks source link

Provide command to download binary releases #64

Closed sanmai-NL closed 2 years ago

sanmai-NL commented 3 years ago

The command in README.md:

curl -s https://api.github.com/repos/Michael-F-Bryan/mdbook-linkcheck/releases/latest \
    | grep browser_download_url \
    | grep $(rustc -Vv | grep host | cut -d' ' -f2) \
    | cut -d : -f 2,3 \
    | tr -d \" \
    | wget -qi -

Please replace it with a simpler alternative to download just binaries. Maybe we can use uname and case switching to determine target triples, if matching host with target really must be automatic.

Update: I found this doesn't download a binary but the source code. I don't understand why you'd want that when you can git clone with fewer/smaller tools.

sanmai-NL commented 3 years ago

See also #61.