From aff9f2d8f23004930e6f9c51e26bc73bb2306788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Sat, 1 May 2021 03:46:36 +1200 Subject: [PATCH] Leave binstall config on the lib crate for now --- lib/Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 70df2d8..8d4e709 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -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"