Skip to content

Commit a21f1d4

Browse files
committed
fix: update cargo-dist configuration
- Remove cargo-dist.toml in favor of dist-workspace.toml - Fix configuration issues in dist-workspace.toml - Remove MSI installer and musl target - Disable auto-updater
1 parent 9116ba7 commit a21f1d4

File tree

2 files changed

+16
-56
lines changed

2 files changed

+16
-56
lines changed

cli/cargo-dist.toml

Lines changed: 0 additions & 50 deletions
This file was deleted.

cli/dist-workspace.toml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
11
[workspace]
22
members = ["cargo:."]
33

4-
# Config for 'dist'
54
[dist]
65
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
76
cargo-dist-version = "0.28.0"
87
# CI backends to support
9-
ci = "github"
8+
ci = ["github"]
109
# The installers to generate for each app
11-
installers = ["shell", "powershell", "homebrew", "msi"]
10+
installers = ["shell", "powershell", "homebrew"]
1211
# A GitHub repo to push Homebrew formulas to
13-
tap = "opensvm/lessvm"
12+
tap = "openSVM/homebrew-lessvm"
1413
# Target platforms to build apps for (Rust target-triple syntax)
15-
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
14+
targets = [
15+
"x86_64-unknown-linux-gnu",
16+
"aarch64-unknown-linux-gnu",
17+
"x86_64-apple-darwin",
18+
"aarch64-apple-darwin",
19+
"x86_64-pc-windows-msvc"
20+
]
1621
# Path that installers should place binaries in
1722
install-path = "CARGO_HOME"
1823
# Publish jobs to run in CI
1924
publish-jobs = ["homebrew"]
2025
# Whether to install an updater program
21-
install-updater = true
26+
install-updater = false
27+
28+
# Configure artifacts
29+
[dist.artifacts]
30+
format = ["tar.xz"]
31+
include = ["README.md", "LICENSE*"]

0 commit comments

Comments
 (0)