Files
gewe-rs/dist-workspace.toml
T
wangnov 78f3c924e5 ci(dist): 配置 cargo-dist 自动构建和发布二进制
- 添加 dist-workspace.toml 配置
- 添加 GitHub Actions release.yml 工作流
- 支持 macOS/Linux/Windows 多平台构建
- 支持 shell/powershell/homebrew 安装器
- gewe-cli 添加 homepage 字段
2026-01-01 18:20:04 +08:00

20 lines
681 B
TOML

[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.30.3"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "homebrew"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Where to host releases
hosting = "github"
# Whether to install an updater program
install-updater = false