chshersh / tool-sync

🧰 Download pre-built binaries of all your favourite tools with a single command
https://crates.io/crates/tool-sync
Mozilla Public License 2.0
69 stars 16 forks source link

add shellcheck #153

Open hdhoang opened 1 year ago

hdhoang commented 1 year ago

Resolves #146

For unsupported tar compressions, i made a string-based io::Error. I tried adding an AssetError variant for clarity, but constructing it in archive.rs proved much difficult. But it shouldn't be reachable because of Archive::from anyhow.

I added an early $name-$tag string because threading ToolAsset fields through the function added many &str parameters, which then get combined at the leaf exe_paths.

Additional tasks