mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Stop producing .gz artifacts for Windows
This commit is contained in:
parent
58e9871038
commit
47cb838b2c
1 changed files with 2 additions and 1 deletions
|
@ -101,9 +101,10 @@ fn dist_server(
|
||||||
cmd!(sh, "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --target {target_name} {features...} --release").run()?;
|
cmd!(sh, "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --target {target_name} {features...} --release").run()?;
|
||||||
|
|
||||||
let dst = Path::new("dist").join(&target.artifact_name);
|
let dst = Path::new("dist").join(&target.artifact_name);
|
||||||
gzip(&target.server_path, &dst.with_extension("gz"))?;
|
|
||||||
if target_name.contains("-windows-") {
|
if target_name.contains("-windows-") {
|
||||||
zip(&target.server_path, target.symbols_path.as_ref(), &dst.with_extension("zip"))?;
|
zip(&target.server_path, target.symbols_path.as_ref(), &dst.with_extension("zip"))?;
|
||||||
|
} else {
|
||||||
|
gzip(&target.server_path, &dst.with_extension("gz"))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue