mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Return a list of files written to disk in binstalk_downloader::download::Download::and_extract
(#856)
to avoid collecting extracted files from disk again in resolution stage. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
44ac63ce0d
commit
9c7da6a179
10 changed files with 366 additions and 84 deletions
5
justfile
5
justfile
|
@ -31,10 +31,7 @@ target-libc := if target =~ "gnu" { "gnu"
|
|||
output-ext := if target-os == "windows" { ".exe" } else { "" }
|
||||
output-filename := "cargo-binstall" + output-ext
|
||||
output-profile-folder := if for-release != "" { "release" } else { "debug" }
|
||||
output-folder := if target != target-host { "target" / target / output-profile-folder
|
||||
} else if env_var_or_default("CARGO_BUILD_TARGET", "") != "" { "target" / target / output-profile-folder
|
||||
} else if cargo-buildstd != "" { "target" / target / output-profile-folder
|
||||
} else { "target" / output-profile-folder }
|
||||
output-folder := "target" / target / output-profile-folder
|
||||
output-path := output-folder / output-filename
|
||||
|
||||
# which tool to use for compiling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue