feat: support cargo binstall yazi-fm and cargo binstall yazi-cli (#1003)

This commit is contained in:
slowsage 2024-05-04 10:14:48 -04:00 committed by GitHub
parent aee65bc4d1
commit 8d741eb62a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -28,3 +28,7 @@ serde_json = "1.0.116"
[[bin]]
name = "ya"
path = "src/main.rs"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/yazi-{ target }{ archive-suffix }"
bin-dir = "yazi-{ target }/{ bin }{ binary-ext }"

View File

@ -50,3 +50,7 @@ tikv-jemallocator = "0.5.4"
[[bin]]
name = "yazi"
path = "src/main.rs"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/yazi-{ target }{ archive-suffix }"
bin-dir = "yazi-{ target }/{ bin }{ binary-ext }"