Leave binstall config on the lib crate for now

This commit is contained in:
Félix Saparelli 2021-05-01 03:46:36 +12:00
parent 1f3f4ada35
commit aff9f2d8f2
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
1 changed files with 9 additions and 0 deletions

View File

@ -30,3 +30,12 @@ nix = "0.20.0"
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.9"
features = ["ioapiset", "jobapi2", "tlhelp32"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/{ version }/watchexec-{ version }-{ target }.tar.xz"
bin-dir = "watchexec-{ version }-{ target }/{ bin }{ format }"
pkg-fmt = "txz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/{ version }/watchexec-{ version }-{ target }.zip"
pkg-fmt = "zip"